VICalls
Interface that creates calls, conferences.
Methods
createCall
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
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
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 the VICalls module to make calls.
Returns
type:
Unit
setIncomingCallListener
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
Externally created WebRTC EglBase.
Returns
type:
EglBase?
version
Returns
type:
String