Package com.digimarc.dms.resolver
Enum Class Resolver.ResolveError
- All Implemented Interfaces:
Serializable
,Comparable<Resolver.ResolveError>
,Constable
- Enclosing class:
- Resolver
Error codes that may be sent to the
ResolveListener.onError(Payload, ResolveError)
method.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Digimarc Mobile SDK cannot be used without a valid license key.A resolver error occurred.A network error prevented the resolver operation from succeeding.Unable to resolve secure watermark.The resolver is invalid.Payloads of this symbology type cannot be resolved.No error. -
Method Summary
Modifier and TypeMethodDescriptionstatic Resolver.ResolveError
Returns the enum constant of this class with the specified name.static Resolver.ResolveError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Error_Invalid_License_Key
The Digimarc Mobile SDK cannot be used without a valid license key. An invalid or expired key was used to create the SdkSession. -
Error_Network
A network error prevented the resolver operation from succeeding. -
Error_Invalid_Response
A resolver error occurred. -
Error_Unsupported_Resolver
The resolver is invalid. Contact Digimarc to get a new license key. -
Error_Unsupported_Symbology
Payloads of this symbology type cannot be resolved. -
Error_Secure_Watermark_Failure
Unable to resolve secure watermark. This can happen when the reader and resolver are not using the same license key. Check that the a single license key is being used for both objects, make sure that the reader is ready for reading secure watermarks (that is, your application has received aSecureWatermarkReadinessObserver.onReady()
callback), and then read the secure watermark again. -
None
No error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-