Enum Constant and Description |
---|
COULD_NOT_CONNECT_TO_THE_INTERNET
Triggered when the network operation was not successful
|
JSON_PARSING_ERROR
Triggered when JSON object was not parsable
|
TMD_CLOUD_COULD_NOT_READ_STREAM
Triggered when the I/O operation could not be achieved
|
TMD_CLOUD_FETCH_TOO_LONG
Triggered when start/stop parameters include a two big gap.
|
TMD_CLOUD_STATUS_CODE_NOT_OK
Triggered when the Cloud is not responsive or has internal error
|
TMD_CLOUD_UNAUTHORIZED_OPERATION |
TMD_DATABASE_OPERATION_ON_MAIN_THREAD |
TMD_INITIALIZATION_FAILED
Triggered if the initialization failed
|
TMD_INVALID_CONFIGURATION
The SDK is not configure properly
|
TMD_INVALID_PARAMETER |
TMD_NETWORK_OPERATION_ON_MAIN_THREAD
Triggered when one starts a long lasting network operation on the main thread
|
TMD_NOT_INITIALIZED
Triggered if one starts the TMD service without a successful initialisation
|
TMD_PAYLOAD_TOO_LARGE
Triggered when too much data to be sent at once
|
TMD_SDK_DEPRECATED_API
The SDK API is deprecated
|
TMD_SDK_ENDPOINT_INVALID
The SDK endpoint is invalid, in this condition the SDK cannot operate
|
TMD_SDK_KEY_INVALID
Triggered the SDK key is invalid
|
UNKNOWN_ERROR
Triggered when an unknown error occurred
|
Modifier and Type | Method and Description |
---|---|
static TmdError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TmdError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TmdError COULD_NOT_CONNECT_TO_THE_INTERNET
public static final TmdError TMD_SDK_KEY_INVALID
public static final TmdError TMD_SDK_ENDPOINT_INVALID
public static final TmdError TMD_INVALID_CONFIGURATION
public static final TmdError TMD_SDK_DEPRECATED_API
public static final TmdError UNKNOWN_ERROR
public static final TmdError TMD_NOT_INITIALIZED
public static final TmdError TMD_INITIALIZATION_FAILED
public static final TmdError TMD_NETWORK_OPERATION_ON_MAIN_THREAD
public static final TmdError TMD_DATABASE_OPERATION_ON_MAIN_THREAD
public static final TmdError TMD_CLOUD_FETCH_TOO_LONG
public static final TmdError JSON_PARSING_ERROR
public static final TmdError TMD_CLOUD_STATUS_CODE_NOT_OK
public static final TmdError TMD_CLOUD_COULD_NOT_READ_STREAM
public static final TmdError TMD_CLOUD_UNAUTHORIZED_OPERATION
public static final TmdError TMD_INVALID_PARAMETER
public static final TmdError TMD_PAYLOAD_TOO_LARGE
public static TmdError[] values()
for (TmdError c : TmdError.values()) System.out.println(c);
public static TmdError 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 null