public enum ChannelState extends Enum<ChannelState>
Enum Constant and Description |
---|
Busy |
Dialing |
DialingOffhook |
Down |
OffHook |
PreRing |
Ring |
Ringing |
Rsrvd |
Up |
Modifier and Type | Method and Description |
---|---|
static ChannelState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelState Down
public static final ChannelState Rsrvd
public static final ChannelState OffHook
public static final ChannelState Dialing
public static final ChannelState Ring
public static final ChannelState Ringing
public static final ChannelState Up
public static final ChannelState Busy
public static final ChannelState DialingOffhook
public static final ChannelState PreRing
public static ChannelState[] values()
for (ChannelState c : ChannelState.values()) System.out.println(c);
public static ChannelState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2004–2020. All rights reserved.