public static enum Channel.SynchronizationStatus extends java.lang.Enum<Channel.SynchronizationStatus>
Attempts to query information that has not been synchronized yet will result in null return.
Enum Constant and Description |
---|
ALL
Channel entity, roster and messages are synchronized.
|
FAILED
Channel synchronization failed.
|
IDENTIFIER
Channel sid is synchronized.
|
METADATA
Channel metadata is synchronized.
|
NONE
Channel is not synchronized.
|
Modifier and Type | Method and Description |
---|---|
static Channel.SynchronizationStatus |
fromInt(int value) |
int |
getValue() |
static Channel.SynchronizationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Channel.SynchronizationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channel.SynchronizationStatus NONE
public static final Channel.SynchronizationStatus IDENTIFIER
public static final Channel.SynchronizationStatus METADATA
public static final Channel.SynchronizationStatus ALL
public static final Channel.SynchronizationStatus FAILED
public static Channel.SynchronizationStatus[] values()
for (Channel.SynchronizationStatus c : Channel.SynchronizationStatus.values()) System.out.println(c);
public static Channel.SynchronizationStatus 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 nullpublic int getValue()
public static Channel.SynchronizationStatus fromInt(int value)