-
Notifications
You must be signed in to change notification settings - Fork 2
CallApplicationRequest
Lejla Solak edited this page Aug 5, 2024
·
5 revisions
init(_ token: String, callsConfigurationId: String, applicationCallEventListener: ApplicationCallEventListener)token: StringcallsConfigurationId: StringapplicationCallEventListener: ApplicationCallEventListener
Creates a new instance of CallApplicationRequest.
-
token:String- Authentication token generated by client's app via Infobip' s HTTP /webrtc/1/token endpoint. -
callsConfigurationId:String- Represents theCalls Configuration IDwhich is configured using theCalls Configuration API. -
applicationCallEventListener:ApplicationCallEventListener- Interface with event methods that should be implemented, method per application call event to be handled.
N/A
let token = obtainToken()
let callApplicationRequest = CallApplicationRequest(token, callsConfigurationId: "45g2gql9ay4a2blu55uk1628", applicationCallEventListener: self)Read-only string property representing the authentication token generated by client's app via Infobip' s HTTP /webrtc/1/token endpoint.
Read-only string property representing
the Calls Configuration ID which is configured using the
Calls Configuration API.
Read-only event listener property representing the event handler for application call events.