Enum Class PhoneDeviceState
- All Implemented Interfaces:
Serializable
,Comparable<PhoneDeviceState>
,Constable
Represents the types of phone device states
- Since:
- 11.27
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe phone device is connected and busy.The phone device is connected and not busy and ready to receive calls.The phone device is disconnected. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneDeviceState
Returns the enum constant of this class with the specified name.static PhoneDeviceState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLEAR
The phone device is connected and not busy and ready to receive calls.- Since:
- 11.27
-
BUSY
The phone device is connected and busy. The busy state also includes a ringing device due to an incoming call.- Since:
- 11.27
-
DISCONNECTED
The phone device is disconnected. This is the initial state for a phone device.- Since:
- 12.1
-
-
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
-