LocalAudio class Models

The LocalAudio class allows enabling and disabling the local participant's audio as well as setting and checking the capture mode and comfort noise level.

This service is available in SDK 3.7 and later.

Constructors

LocalAudio()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCaptureMode() Future<AudioCaptureOptions>
Returns the local participant's audio capture mode in Dolby Voice conferences.
getComfortNoiseLevel() Future<ComfortNoiseLevel>
Retrieves the comfort noise level setting for output devices in Dolby Voice conferences.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCaptureMode(AudioCaptureOptions options) Future<void>
Sets the local participant's audio capture mode in Dolby Voice conferences.
setComfortNoiseLevel(ComfortNoiseLevel noiseLevel) Future<void>
Sets the comfort noise level for output devices in Dolby Voice conferences.
start() Future<void>
Enables the local participant's audio and sends the audio to a conference. This method is not available for listeners and triggers the UnsupportedError.
stop() Future<void>
Disables the local participant's audio and stops sending the audio to a conference. This method is not available for listeners and triggers the UnsupportedError. The stop method requires a few seconds to become effective.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited