|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DeviceSdkType>
com.baidubce.services.iothisk.device.model.DeviceSdkType
public enum DeviceSdkType
Represents device sdk type.
| Enum Constant Summary | |
|---|---|
NONE_COUNTER
NONE_COUNTER device sdk type It specifies that the device will not check message counter to against replay attack. |
|
NONE_RTC
NONE_RTC device sdk type Message replay attack will be check by none_rtc counter method, in which the counter may be an increased int value. |
|
RTC
RTC device sdk type Message replay attack will be check by rtc counter method, in which the counter may be an timestamp in seconds generated from rtc. |
|
| Method Summary | |
|---|---|
int |
getStatusCode()
Get status code of related device sdk type |
static DeviceSdkType |
parse(String value)
Parse string type status code to corresponding device sdk type |
static DeviceSdkType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DeviceSdkType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DeviceSdkType NONE_RTC
public static final DeviceSdkType RTC
public static final DeviceSdkType NONE_COUNTER
| Method Detail |
|---|
public static DeviceSdkType[] values()
for (DeviceSdkType c : DeviceSdkType.values()) System.out.println(c);
public static DeviceSdkType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getStatusCode()
public static DeviceSdkType parse(String value)
value - string type status code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||