AudioOutputRouting enum Null safety

语音路由。

Constants

Default → const AudioOutputRouting

使用默认的音频路由。

@JsonValue(-1)
const AudioOutputRouting(0)
Earpiece → const AudioOutputRouting

使用听筒为语音路由。

@JsonValue(1)
const AudioOutputRouting(2)
Headset → const AudioOutputRouting

使用耳机为语音路由。

@JsonValue(0)
const AudioOutputRouting(1)
HeadsetBluetooth → const AudioOutputRouting

使用蓝牙耳机为语音路由。

@JsonValue(5)
const AudioOutputRouting(6)
HeadsetNoMic → const AudioOutputRouting

使用不带麦的耳机为语音路由。

@JsonValue(2)
const AudioOutputRouting(3)
Loudspeaker → const AudioOutputRouting

使用外接的扬声器为语音路由。

@JsonValue(4)
const AudioOutputRouting(5)
Speakerphone → const AudioOutputRouting

使用手机的扬声器为语音路由。

@JsonValue(3)
const AudioOutputRouting(4)
values → const List<AudioOutputRouting>

A constant List of the values in this enum, in order of their declaration.

const List<AudioOutputRouting>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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
A string representation of this object. [...]
override

Operators

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