public enum LiveViewClientCapability extends Enum<LiveViewClientCapability>
Since this feature is known to servers only since 1.6, older clients will have a default value of EMPTY_CLIENT_CAPABILITY.
Enum Constant and Description |
---|
ACCEPTS_SEPARATELY_TRANSMITTED_EXTENDED_KEYS |
COMPLEX_KEYS |
DATA_ON_REMOVE_MESSAGE |
FULL_SCHEMA
Whether or not this client supports full Schemas
|
JSON_SCHEMA |
KEYFIELDS_IN_BEGINSNAPSHOT |
LISTS_AND_HIERARCHICAL |
PUBLISH_V2 |
TOLERATES_REDUCED_HEARTBEAT_RATE |
Modifier and Type | Field and Description |
---|---|
static String |
CURRENT_LV_CLIENT_CAPABILITIES_CSV |
static EnumSet<LiveViewClientCapability> |
CURRENT_LV_CLIENT_CAPABILITY |
static EnumSet<LiveViewClientCapability> |
EMPTY_CLIENT_CAPABILITY |
static EnumSet<LiveViewClientCapability> |
REQ_CLIENT_CAPABILITIES_COMPLEX_KEYS_ONLY |
static EnumSet<LiveViewClientCapability> |
REQ_CLIENT_CAPABILITIES_LH_DATA |
Modifier and Type | Method and Description |
---|---|
String |
getReadable() |
String |
toString() |
static LiveViewClientCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiveViewClientCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveViewClientCapability FULL_SCHEMA
public static final LiveViewClientCapability JSON_SCHEMA
public static final LiveViewClientCapability LISTS_AND_HIERARCHICAL
public static final LiveViewClientCapability COMPLEX_KEYS
public static final LiveViewClientCapability PUBLISH_V2
public static final LiveViewClientCapability DATA_ON_REMOVE_MESSAGE
public static final LiveViewClientCapability ACCEPTS_SEPARATELY_TRANSMITTED_EXTENDED_KEYS
public static final LiveViewClientCapability TOLERATES_REDUCED_HEARTBEAT_RATE
public static final LiveViewClientCapability KEYFIELDS_IN_BEGINSNAPSHOT
public static final EnumSet<LiveViewClientCapability> EMPTY_CLIENT_CAPABILITY
public static final EnumSet<LiveViewClientCapability> CURRENT_LV_CLIENT_CAPABILITY
public static final String CURRENT_LV_CLIENT_CAPABILITIES_CSV
public static final EnumSet<LiveViewClientCapability> REQ_CLIENT_CAPABILITIES_COMPLEX_KEYS_ONLY
public static final EnumSet<LiveViewClientCapability> REQ_CLIENT_CAPABILITIES_LH_DATA
public static LiveViewClientCapability[] values()
for (LiveViewClientCapability c : LiveViewClientCapability.values()) System.out.println(c);
public static LiveViewClientCapability 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 String getReadable()
public String toString()
toString
in class Enum<LiveViewClientCapability>