audioFocusMode property

VIRequestAudioFocusMode audioFocusMode
getter/setter pair

Specifies when the audio focus request is performed: when a call is started or established.

VIRequestAudioFocusMode.onCallStart by default.

If the application plays some audio, it may result in audio interruptions. To avoid this behavior, this option should be set to VIRequestAudioFocusMode.onCallConnected and application's audio should be stopped/paused on VICallAudioStarted callback.

Implementation

VIRequestAudioFocusMode audioFocusMode;