VICalls (object)
com.voximplant.android.sdk.calls
Interface that creates calls, conferences.
Methods
Properties
Methods
createCall
fun createCall(number: String, callSettings: CallSettings): Call?
Creates a new call instance. Call should be then started via Call.start API.
Parameters
Returns: Call?
createConference
fun createConference(number: String, conferenceSettings: ConferenceSettings): Conference?
Creates a conference instance.
Parameters
Returns: Conference?
getMissingPermissions
fun getMissingPermissions(videoSupportEnabled: Boolean): List<String>
Gets the list of required permissions that have not been granted by user yet.
Annotations: JvmStatic
Parameters
Returns: List<String>
initialize
fun initialize(): Unit
Initialize the VICalls module to make calls.
Returns: Unit
setIncomingCallListener
fun setIncomingCallListener(listener: IncomingCallListener?): Unit
Sets IncomingCallListener to handle incoming calls.
Parameters
Returns: Unit
Properties
calls
val calls: Map<String, Call>
Returns all active calls.
Read-only.
conferences
val conferences: Map<String, Conference>
Returns all active conferences.
Read-only.
eglBase
var eglBase: EglBase?
Externally created WebRTC EglBase.
Should be set before the VICalls.initialize API is called, otherwise it is ignored.
isInitialized
var isInitialized: Boolean
version
val version: String
Read-only.