AudioTrack

The AudioTrack model gathers audio track information.

Methods

id

id(): String

Gets the ID of the audio track.

Returns: String


id

id(@NonNull id: String): void

Sets the ID of the audio track.

Parameters

NameTypeDescription
labelStringnon null The new ID of the audio track.

setVolume

setVolume(volume: float): void

Sets the volume of the audio track in non-Dolby Voice conferences to a preferred value between 0 and 1.

Parameters

NameTypeDescription
volumefloatThe preferred volume level between 0 (no audio) and 1 (full volume).