ContactCenterCommunicator

public final class ContactCenterCommunicator : ContactCenterCommunicating

Impementation of the ContactCenterCommunicating protocol.

Event delivery delegate

Convenience

  • Creates an instance of the API class.

    • Tag: init

    Declaration

    Swift

    public convenience init(baseURL: URL, tenantURL: URL, appID: String, clientID: String)

    Parameters

    baseURL

    HTTP(S) URL to your server. Usually it matches the tenantUrl but could be different in development or staging environments. The http(s):// protocol part is required.

    tenantURL

    Identifies your contact center. It corresponds to the domain name of your contact center that you see in the upper right corner of the Contact Center Administrator application after login.

    appID

    Unique identifier of the Messaging/Chat scenario entry that will be used to associate your application with a specific scenario.

    clientID

    Unique identifier of the client application. It is used to identify communication sessions of a particular instance of the mobile application (i.e., of a specific mobile device). It must be generated by the mobile application preferably in the UUID format, saved in the local storage and used for all subsequent application sessions on that device.

Requesting chat availability

Requesting a new chat session

Chat session related methods

Remote notifications