public enum PeerState extends Enum<PeerState>
| Enum Constant and Description |
|---|
BUSY |
DND |
DOWN |
EXTERNAL |
NOTSET |
OFF_LINE |
REGISTERED |
RING |
RINGING |
UNKNOWN |
UNMONITORED |
UNREGISTERED |
UP |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
int |
getPriority() |
boolean |
isVisible() |
String |
toString() |
static PeerState |
valueByChannelState(ChannelState state) |
static PeerState |
valueByName(String value) |
static PeerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerState DOWN
public static final PeerState UP
public static final PeerState UNKNOWN
public static final PeerState NOTSET
public static final PeerState UNMONITORED
public static final PeerState DND
public static final PeerState RINGING
public static final PeerState OFF_LINE
public static final PeerState UNREGISTERED
public static final PeerState REGISTERED
public static final PeerState BUSY
public static final PeerState RING
public static final PeerState EXTERNAL
public static PeerState[] values()
for (PeerState c : PeerState.values()) System.out.println(c);
public static PeerState 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 nullpublic static PeerState valueByChannelState(ChannelState state)
public String getLabel()
public boolean isVisible()
public int getPriority()
Copyright © 2004–2020. All rights reserved.