TXAudioRoute class

Audio routing (the playback mode of the sound)

Constructors

TXAudioRoute()

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
Use the handset to play the handset, which is located on the top of the phone, and the sound is on the low side, which is suitable for call scenarios that need to protect privacy
getter/setter pair
TXAudioRouteSpeakerphone int
Play with speakers ("hands-free"), which are located at the bottom of the phone and are on the louder side, making them suitable for playing music outside
getter/setter pair