Enum PhoneCallState
- java.lang.Object
-
- java.lang.Enum<PhoneCallState>
-
- microsoft.exchange.webservices.data.core.enumeration.service.PhoneCallState
-
- All Implemented Interfaces:
Serializable,Comparable<PhoneCallState>
public enum PhoneCallState extends Enum<PhoneCallState>
The PhoneCallState enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AlertedThe Alerted.ConnectedThe Connected.ConnectingThe Connecting.DisconnectedThe Disconnected.ForwardingThe Forwarding.IdleThe Idle.IncomingThe Incoming.TransferringThe Transferring.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PhoneCallStatevalueOf(String name)Returns the enum constant of this type with the specified name.static PhoneCallState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Idle
public static final PhoneCallState Idle
The Idle.
-
Connecting
public static final PhoneCallState Connecting
The Connecting.
-
Alerted
public static final PhoneCallState Alerted
The Alerted.
-
Connected
public static final PhoneCallState Connected
The Connected.
-
Disconnected
public static final PhoneCallState Disconnected
The Disconnected.
-
Incoming
public static final PhoneCallState Incoming
The Incoming.
-
Transferring
public static final PhoneCallState Transferring
The Transferring.
-
Forwarding
public static final PhoneCallState Forwarding
The Forwarding.
-
-
Method Detail
-
values
public static PhoneCallState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PhoneCallState c : PhoneCallState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PhoneCallState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-