Skip to content

CallRequest

Adnan Mujagić edited this page Jun 11, 2024 · 4 revisions



init(token, destination)

Description

Creates an instance of CallRequest.

Arguments

  • token: String - Authentication token generated by client's app via Infobip's HTTP /webrtc/1/token endpoint.
  • destination: String - Remote endpoint's identity or phone number to call.

Returns

Example

let token = obtainToken()
let callRequest = CallRequest(token, destination: "Alice")



token

Description

Getter for the token field.

Returns



destination

Description

Getter for the destination field.

Returns

  • destination: String - Represents the remote endpoint's identity or phone number to be called.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally