NERtcAudioFocusMode class Null safety

Audio focus mode

Constructors

NERtcAudioFocusMode()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

audioFocusGain → const int
Take the audio focus
1
audioFocusGainTransient → const int
Take the audio focus for a while and immediately release the focus after use, for example, notification sounds
2
audioFocusGainTransientExclusive → const int
Take the audio focus for a while for recording or voice recognition use
4
audioFocusGainTransientMayDuck → const int
Temporary request the audio focus and lower the sound of other audio applications. Mixing audio playback is supporteed
3
audioFocusOff → const int
Request no audio focus
0