NERtcAudioFocusMode class

语音设备类型

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
Returns a string representation of this object.
inherited

Operators

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

Constants

audioFocusGain → const int
长时间获得焦点
1
audioFocusGainTransient → const int
短暂性获得焦点,用完应立即释放,比如notification sounds
2
audioFocusGainTransientExclusive → const int
短暂性获得焦点,录音或者语音识别
4
audioFocusGainTransientMayDuck → const int
临时请求, 降低其他音频应用的声音,可混音播放
3
audioFocusOff → const int
不请求音频焦点
0