public enum THMStatusCode extends Enum<THMStatusCode>
Enum Constant and Description |
---|
THM_Already_Initialised
This status indicates that the init method is called more than once.
|
THM_Blocked
This status indicates that the profiling is not allowed because the phone's screen is off.
|
THM_ConfigurationError
Failed to retrieve configuration from server
|
THM_Connection_Error
There has been a connection issue, profiling aborted
|
THM_EndNotifier_NotFound
This status indicates one of the config options passed to init() method is invalid
|
THM_HostNotFound_Error
Unable to resolve the host name of the fingerprint server
|
THM_HostVerification_Error
Certificate verification or other SSL failure! Potential Man In The Middle attack"
|
THM_In_Quiet_Period
This status indicates that profiling is blocked because customer is in a quiet period
|
THM_Internal_Error
Internal Error, profiling incomplete or interrupted
|
THM_Interrupted_Error
Request was cancelled
|
THM_Invalid_Context
This status indicates an invalid context is passed to init() method
|
THM_Invalid_FP_Server
This status indicates an invalid context is passed to init() method
|
THM_Invalid_OrgID
Request contained an invalid org id
|
THM_NetworkTimeout_Error
Communications layer timed out
|
THM_NotYet
Profile request has successfully started but is not completed
|
THM_OK
Completed, No errors
|
THM_PartialProfile
Connection error, only partial profile completed
|
THM_ThirdPartyLibrary_Not_Found
This status indicates the okhttp library is not included in the project
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc()
Get a description
|
String |
toString()
Get a short label
|
static THMStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static THMStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final THMStatusCode THM_NotYet
public static final THMStatusCode THM_OK
public static final THMStatusCode THM_Connection_Error
public static final THMStatusCode THM_HostNotFound_Error
public static final THMStatusCode THM_NetworkTimeout_Error
public static final THMStatusCode THM_Internal_Error
public static final THMStatusCode THM_HostVerification_Error
public static final THMStatusCode THM_Interrupted_Error
public static final THMStatusCode THM_Invalid_OrgID
public static final THMStatusCode THM_ConfigurationError
public static final THMStatusCode THM_PartialProfile
public static final THMStatusCode THM_Blocked
public static final THMStatusCode THM_Already_Initialised
public static final THMStatusCode THM_Invalid_Context
public static final THMStatusCode THM_Invalid_FP_Server
public static final THMStatusCode THM_EndNotifier_NotFound
public static final THMStatusCode THM_ThirdPartyLibrary_Not_Found
public static final THMStatusCode THM_In_Quiet_Period
public static THMStatusCode[] values()
for (THMStatusCode c : THMStatusCode.values()) System.out.println(c);
public static THMStatusCode 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 toString()
toString
in class Enum<THMStatusCode>
public String getDesc()