-
Notifications
You must be signed in to change notification settings - Fork 2
ViberCall
Lejla Solak edited this page Sep 30, 2025
·
4 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?.optionsWritable 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