NERtcAudioFocusMode class

语音设备类型

Constructors

NERtcAudioFocusMode()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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
长时间获得焦点
audioFocusGainTransient → const int
短暂性获得焦点,用完应立即释放,比如notification sounds
audioFocusGainTransientExclusive → const int
短暂性获得焦点,录音或者语音识别
audioFocusGainTransientMayDuck → const int
临时请求, 降低其他音频应用的声音,可混音播放
audioFocusOff → const int
不请求音频焦点