IMediaHandler

The IMediaHandler class contains media-related event callbacks.

onVolumeUpdated

Indicates the volume change of a stream.

fun onVolumeUpdated(volume: Int, 
                    streamUuid: String)

Parameter

volume
The volume range.
streamUuid
The stream ID.

onAudioMixingStateChanged

Occurs when the audio mixing state changes.

fun onAudioMixingStateChanged(state: Int, errorCode: Int)

Parameter

state
The audio mixing state code.
errorCode
The audio mixing error code.