public enum AudioRoutingEndpoint extends java.lang.Enum<AudioRoutingEndpoint>
Enum Constant and Description |
---|
Bluetooth
The audio is routed to the bluetooth device endpoint
|
BluetoothWithNoiseAndEchoCancellation
The audio is routed to the bluetooth device endpoint with enabled noise and echo cancelation
|
Default
The audio is routed to the system's default endpoint
|
Earpiece
The audio is routed to the earpiece endpoint
|
Speakerphone
The audio is routed to the speakerphone/loud speaker endpoint
|
WiredHeadset
The audio is routed to the wired headset device endpoint
|
WiredHeadsetSpeakerOnly
The audio is routed to the wired headset device endpoint having only loud speaker/speakerphone
|
Modifier and Type | Method and Description |
---|---|
static AudioRoutingEndpoint |
fromInt(int i) |
static AudioRoutingEndpoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioRoutingEndpoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioRoutingEndpoint Default
public static final AudioRoutingEndpoint Earpiece
public static final AudioRoutingEndpoint Speakerphone
public static final AudioRoutingEndpoint Bluetooth
public static final AudioRoutingEndpoint BluetoothWithNoiseAndEchoCancellation
public static final AudioRoutingEndpoint WiredHeadset
public static final AudioRoutingEndpoint WiredHeadsetSpeakerOnly
public static AudioRoutingEndpoint[] values()
for (AudioRoutingEndpoint c : AudioRoutingEndpoint.values()) System.out.println(c);
public static AudioRoutingEndpoint valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AudioRoutingEndpoint fromInt(int i)