Skip to content

ViberCall

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 viber call and get the call options
let viberCall = getInfobipRTCInstance().getActiveCall() as? ViberCall
let options = viberCall?.options



viberCallEventListener

Description

Writable property representing the event handler for Viber call events.

Example

// 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

Tutorials

Migration guides

Reference documentation

Clone this wiki locally