-
Notifications
You must be signed in to change notification settings - Fork 3
ViberCall
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 viber call and get the call options
let viberCall = getInfobipRTCInstance().getActiveCall() as? ViberCall
let options = viberCall?.options
Writable property representing the event handler for Viber call events.
// Retrieve the active viber call
let viberCall = getInfobipRTCInstance().getActiveCall() as? ViberCall
// Set the viber call event listener to be handled by 'self'
viberCall?.viberCallEventListener = self
// Get the viber call event listener
let viberCallEventListener = viberCall.viberCallEventListener