TXAudioRoute class
音频路由(即声音的播放模式)
Constructors
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
Static Properties
- TXAudioRouteEarpiece ↔ int
-
使用听筒播放,听筒位于手机顶部,声音偏小,适合需要保护隐私的通话场景
getter/setter pair
- TXAudioRouteSpeakerphone ↔ int
-
使用扬声器播放(即“免提”),扬声器位于手机底部,声音偏大,适合外放音乐
getter/setter pair