Package com.zello.sdk
Enum Class AudioMode
- All Implemented Interfaces:
Serializable
,Comparable<AudioMode>
,Constable
The
AudioMode
enum represents the audio modes available with Zello SDK.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SPEAKER
Phone's loudspeaker.
The default mode. When a wired headset is connected, audio is automatically routed via the headset. When a Bluetooth stereo headset is connected, audio playback is usually routed via the headset while the built-in microphone is used for recording.
-
EARPIECE
Phone's earpiece.
When a headset is connected, this option usually works exactly as
SPEAKER
. -
BLUETOOTH
Bluetooth headset.
This mode is required to record from Bluetooth or when using mono headsets.
-
WEARABLE
Android Wear device.
Zello supports multiple paired Android Wear devices and lets you select the one you want to use. The device microphone (when available) is used when PTT is activated from the wearable.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-