-
Notifications
You must be signed in to change notification settings - Fork 3
PhoneCall
Adnan Mujagić edited this page Jun 11, 2024
·
3 revisions
extends
Call
Read-only property representing the call options with which the call was started.
// Retrieve the active phone call and get the call options
let phoneCall = getInfobipRTCInstance().getActiveCall() as? PhoneCall
let options = phoneCall?.options
Getter and setter for the phoneCallEventListener
field.
-
PhoneCallEventListener
- Value of thephoneCallEventListener
field representing the event handler for phone call events.
// 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