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.
read-onlyinherited
preview AudioPreview
Allows the local participant to test different capture modes and voice fonts before a conference. The method sets a preview recorder that records the participant's audio and plays it back. Before playing the recorded audio, set the captureMode to a preferred setting that you wish to try. The method is supported only in SDK 3.10 and later.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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