public enum ReaderSettingsErrorCode extends java.lang.Enum<ReaderSettingsErrorCode> implements ErrorCode
ReaderManager.startReaderSettingsActivity(Context)
.Enum Constant and Description |
---|
SDK_NOT_AUTHORIZED
Reader SDK is not currently authorized.
|
USAGE_ERROR
ReaderManager.startReaderSettingsActivity(Context) was used in an unexpected or
unsupported way. |
Modifier and Type | Method and Description |
---|---|
boolean |
isUsageError()
Returns true if the error is a usage error, false otherwise.
|
static ReaderSettingsErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReaderSettingsErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReaderSettingsErrorCode SDK_NOT_AUTHORIZED
public static final ReaderSettingsErrorCode USAGE_ERROR
ReaderManager.startReaderSettingsActivity(Context)
was used in an unexpected or
unsupported way. See ResultError.getDebugCode()
and ResultError.getDebugMessage()
for more information.public static ReaderSettingsErrorCode[] values()
for (ReaderSettingsErrorCode c : ReaderSettingsErrorCode.values()) System.out.println(c);
public static ReaderSettingsErrorCode 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 nullpublic boolean isUsageError()
ErrorCode
Returns true if the error is a usage error, false otherwise.
Useful for writing shared handling of debug codes and messages across Reader SDK operations.
isUsageError
in interface ErrorCode