AudioRoute enum

音频播放路由

Inheritance
Available extensions

Values

routeDefault → const AudioRoute

默认设备

headset → const AudioRoute

有线耳机

earpiece → const AudioRoute

设备自带听筒,一般用于通话的播放硬件。

speakerphone → const AudioRoute

设备自带扬声器,一般用于免提播放的硬件。

headsetBluetooth → const AudioRoute

蓝牙耳机

headsetUSB → const AudioRoute

USB 设备

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

values → const List<AudioRoute>
A constant List of the values in this enum, in order of their declaration.