@Deprecated public static enum UserAuthenticationException.Code extends Enum<UserAuthenticationException.Code>
Enum Constant and Description |
---|
AUTH_INFO_EXPIRED
Deprecated.
User auth info is expired.
|
INTERNAL_ERROR
Deprecated.
Internal error occurred
|
MISSING_AUTH_INFO
Deprecated.
User auth info wasn't supplied.
|
PHONE_NOT_VERIFIED
Deprecated.
Phone number wasn't verified.
|
Modifier and Type | Method and Description |
---|---|
static UserAuthenticationException.Code |
get(int value)
Deprecated.
|
int |
getValue()
Deprecated.
Gets the
UserAuthenticationException.Code value |
static UserAuthenticationException.Code |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static UserAuthenticationException.Code[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAuthenticationException.Code INTERNAL_ERROR
public static final UserAuthenticationException.Code MISSING_AUTH_INFO
com.here.mobility.sdk.core.MobilitySdk#setUserAuthInfo(HereSdkUserAuthInfo)
public static final UserAuthenticationException.Code AUTH_INFO_EXPIRED
com.here.mobility.sdk.core.MobilitySdk#setUserAuthInfo(HereSdkUserAuthInfo)
public static final UserAuthenticationException.Code PHONE_NOT_VERIFIED
com.here.mobility.sdk.core.MobilitySdk#verifyPhoneNumber(String, String)
public static UserAuthenticationException.Code[] values()
for (UserAuthenticationException.Code c : UserAuthenticationException.Code.values()) System.out.println(c);
public static UserAuthenticationException.Code 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 int getValue()
UserAuthenticationException.Code
valuepublic static UserAuthenticationException.Code get(int value)