public enum IOTC_CONNECTION_STATE extends Enum<IOTC_CONNECTION_STATE>
| Enum Constant and Description |
|---|
BAD_CREDENTIAL |
COMMUNICATION_ERROR |
CONNECTION_OK |
DEVICE_DISABLED |
EXPIRED_SAS_TOKEN |
NO_NETWORK |
RETRY_EXPIRED |
| Modifier and Type | Method and Description |
|---|---|
static IOTC_CONNECTION_STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOTC_CONNECTION_STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOTC_CONNECTION_STATE CONNECTION_OK
public static final IOTC_CONNECTION_STATE EXPIRED_SAS_TOKEN
public static final IOTC_CONNECTION_STATE DEVICE_DISABLED
public static final IOTC_CONNECTION_STATE BAD_CREDENTIAL
public static final IOTC_CONNECTION_STATE RETRY_EXPIRED
public static final IOTC_CONNECTION_STATE NO_NETWORK
public static final IOTC_CONNECTION_STATE COMMUNICATION_ERROR
public static IOTC_CONNECTION_STATE[] values()
for (IOTC_CONNECTION_STATE c : IOTC_CONNECTION_STATE.values()) System.out.println(c);
public static IOTC_CONNECTION_STATE 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 nullCopyright © 2019. All rights reserved.