public static enum MySensors.MYS_MESSAGE_TYPE extends Enum<MySensors.MYS_MESSAGE_TYPE>
Enum Constant and Description |
---|
C_INTERNAL |
C_PRESENTATION |
C_REQ |
C_SET |
C_STREAM |
Modifier and Type | Method and Description |
---|---|
static MySensors.MYS_MESSAGE_TYPE |
fromString(String text) |
static MySensors.MYS_MESSAGE_TYPE |
get(int id) |
String |
getText() |
static MySensors.MYS_MESSAGE_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySensors.MYS_MESSAGE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySensors.MYS_MESSAGE_TYPE C_PRESENTATION
public static final MySensors.MYS_MESSAGE_TYPE C_SET
public static final MySensors.MYS_MESSAGE_TYPE C_REQ
public static final MySensors.MYS_MESSAGE_TYPE C_INTERNAL
public static final MySensors.MYS_MESSAGE_TYPE C_STREAM
public static MySensors.MYS_MESSAGE_TYPE[] values()
for (MySensors.MYS_MESSAGE_TYPE c : MySensors.MYS_MESSAGE_TYPE.values()) System.out.println(c);
public static MySensors.MYS_MESSAGE_TYPE 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 MySensors.MYS_MESSAGE_TYPE get(int id)
public String getText()
public static MySensors.MYS_MESSAGE_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.