VICalls
Interface that creates calls, conferences.
Methods
createCall
createCall(number: String
, callSettings: ): Call?
Creates a new call instance. Call should be then started via Call.start API.
Parameters
number:
String
SIP URI, username or phone number to make call to. Actual routing is then performed by VoxEngine scenario. See this article to learn more about routing
callSettings:
Call settings with additional call parameters, such as preferred video codec, custom data, extra headers etc.
Returns
type:
Call?
createConference
createConference(number: String
, conferenceSettings: ): Creates a conference instance.
Parameters
number:
String
The conference name. For SIP compatibility reasons it should be a non-empty string.
conferenceSettings:
Conference settings with additional conference parameters, such as preferred video codec, custom data, extra headers etc.
Returns
type:
getMissingPermissions
getMissingPermissions(videoSupportEnabled: Boolean
): List<String>
Gets the list of required permissions that have not been granted by user yet.
Parameters
videoSupportEnabled:
Boolean
Whether permissions for video calls are required
Returns
type:
List<String>
initialize
initialize(): Unit
Initialize the VICalls module to make calls.
Returns
type:
Unit
setIncomingCallListener
setIncomingCallListener(listener: ): Unit
Sets IncomingCallListener to handle incoming calls.
Parameters
listener:
OptionalThe listener to be notified of incoming calls. If null, previous listener is removed
Returns
type:
Unit
Props
eglBase
eglBase: Externally created WebRTC EglBase.
Returns
type:
EglBase?
version
version: Returns
type:
String