InCallManagerModule

Constructors

Link copied to clipboard
constructor(activity: Activity, inCallManagerEventCallbacks: InCallManagerEventCallbacks)

Types

Link copied to clipboard

AudioDevice is the names of possible audio devices that we currently support.

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the currently selected audio device.

Functions

Link copied to clipboard

Returns current set of available/selectable audio devices.

Link copied to clipboard
open override fun onAudioFocusChange(focusChange: Int)
Link copied to clipboard
Link copied to clipboard

Changes selection of the currently active audio device.

Link copied to clipboard

Changes default audio device. TODO(henrika): add usage of this method in the AppRTCMobile client.

Link copied to clipboard

flag: Int 0: use default action 1: force speaker on -1: force speaker off

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun start(_media: String, auto: Boolean, ringbackUriType: String)
Link copied to clipboard
fun startBusytone(busytoneUriType: String): Boolean

This is part of start() process. busytoneUriType must not empty. empty means do not play. return false to indicate play tone failed and should be stop() immediately otherwise, it will stop() after a tone completed.

Link copied to clipboard
Link copied to clipboard
fun startRingback(ringbackUriType: String)

This is part of start() process. ringbackUriType must not empty. empty means do not play.

Link copied to clipboard
fun stop(busytoneUriType: String = "")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Updates list of possible audio devices and make new device selection.