public enum QueueMemberState extends Enum<QueueMemberState>
QueueMemberEvent
Enum Constant and Description |
---|
DEVICE_BUSY
Busy means, phone is in action, eg.
|
DEVICE_INUSE |
DEVICE_INVALID |
DEVICE_NOT_INUSE
Queue member is available, eg.
|
DEVICE_ONHOLD
Device is on hold
|
DEVICE_RINGING
Device is ringing.
|
DEVICE_RINGINUSE
Device is ringing *and* in use.
|
DEVICE_UNAVAILABLE
Device is not available for call, eg.
|
DEVICE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Returns the numerical status code.
|
static QueueMemberState |
valueOf(Integer status)
Returns value specified by int.
|
static QueueMemberState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueueMemberState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueueMemberState DEVICE_UNKNOWN
public static final QueueMemberState DEVICE_NOT_INUSE
public static final QueueMemberState DEVICE_INUSE
public static final QueueMemberState DEVICE_BUSY
public static final QueueMemberState DEVICE_INVALID
public static final QueueMemberState DEVICE_UNAVAILABLE
public static final QueueMemberState DEVICE_RINGING
public static final QueueMemberState DEVICE_RINGINUSE
public static final QueueMemberState DEVICE_ONHOLD
public static QueueMemberState[] values()
for (QueueMemberState c : QueueMemberState.values()) System.out.println(c);
public static QueueMemberState 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 int getStatus()
QueueMemberEvent.getStatus()
public static QueueMemberState valueOf(Integer status)
QueueMemberEvent.getStatus()
.status
- integer representation of the status.null
if none matches.Copyright © 2004–2022. All rights reserved.