public static enum Status.PhoneState extends java.lang.Enum<Status.PhoneState>
Enum Constant and Description |
---|
Available |
Busy |
DoNotDisturb |
OnHold |
Ringing |
Unknown |
Modifier and Type | Method and Description |
---|---|
static Status.PhoneState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Status.PhoneState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.PhoneState Unknown
public static final Status.PhoneState Available
public static final Status.PhoneState DoNotDisturb
public static final Status.PhoneState Ringing
public static final Status.PhoneState Busy
public static final Status.PhoneState OnHold
public static Status.PhoneState[] values()
for (Status.PhoneState c : Status.PhoneState.values()) System.out.println(c);
public static Status.PhoneState 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 nullCopyright © 2021. All Rights Reserved.