Skip to content

PhoneCall

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

extends Call



options

Description

Read-only property representing the call options with which the call was started.

Example

// Retrieve the active phone call and get the call options
let phoneCall = getInfobipRTCInstance().getActiveCall() as? PhoneCall
let options = phoneCall?.options



phoneCallEventListener

Description

Getter and setter for the phoneCallEventListener field.

Returns

  • PhoneCallEventListener - Value of the phoneCallEventListener field representing the event handler for phone call events.

Example

// Retrieve the active phone call
let phoneCall = getInfobipRTCInstance().getActiveCall() as? PhoneCall

// Set the phone call event listener to be handled by 'self'
phoneCall?.phoneCallEventListener = self

// Get the phone call event listener
let phoneCallEventListener = phoneCall.phoneCallEventListener

Tutorials

Migration guides

Reference documentation

Clone this wiki locally