HMSAudioManagerLegacy

HMSAudioManager manages all audio related parts of the HMS demo.

Constructors

Link copied to clipboard
open fun HMSAudioManagerLegacy(context: Context, analytics: AnalyticsEventsService, hmsAudioTrackSettings: HMSAudioTrackSettings, errorListener: IErrorListener, audioManagerDeviceChangeListener: HMSAudioManager.AudioManagerDeviceChangeListener)

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun isStarted(): Boolean
Link copied to clipboard
Changes selection of the currently active audio device.
Link copied to clipboard
open fun setAudioMode(audioMode: Int)
Manual [enable = true] media volume/ [disable = false] in-call volume
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun stop()
Link copied to clipboard
Updates list of possible audio devices and make new device selection.

Properties

Link copied to clipboard
Link copied to clipboard
open val isStarted: Boolean