Enum Class BaseReader.ReaderError

java.lang.Object
java.lang.Enum<BaseReader.ReaderError>
com.digimarc.dms.readers.BaseReader.ReaderError
All Implemented Interfaces:
Serializable, Comparable<BaseReader.ReaderError>, Constable
Enclosing class:
BaseReader

public static enum BaseReader.ReaderError extends Enum<BaseReader.ReaderError>
Error codes that may be received by Readers.
  • Enum Constant Details

    • None

      public static final BaseReader.ReaderError None
      No error.
    • Error_Invalid_License_Key

      public static final BaseReader.ReaderError 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_No_Valid_Symbology

      public static final BaseReader.ReaderError Error_No_Valid_Symbology
      The symbology bitmask must contain at least one symbology that is valid for the specified class of reader. For instance, an ImageReader must be initialized with at least one BaseReader.ImageSymbology.
    • Error_Invalid_Symbology

      public static final BaseReader.ReaderError Error_Invalid_Symbology
      The symbology bitmask contains one or more symbologies that are not valid for the specified class of reader. For instance, the bitmask passed to an ImageReader must contain only symbologies from BaseReader.ImageSymbology.
    • Error_Unsupported_Audio_Format

      public static final BaseReader.ReaderError Error_Unsupported_Audio_Format
      The audio reader does not support the specified audio sample rate or channel count. Currently only 16 kHz, single channel audio is supported.
    • Error_Unsupported_Bitmap_Format

      public static final BaseReader.ReaderError Error_Unsupported_Bitmap_Format
      ImageReader only supports ARGB_8888 bitmap format.
    • Error_Unsupported_Read_Type

      public static final BaseReader.ReaderError Error_Unsupported_Read_Type
      The ImageReader does not support reading 1D barcodes from bitmaps. It only supports reading from video streams.
    • Error_Invalid_Reader_Option

      public static final BaseReader.ReaderError Error_Invalid_Reader_Option
      The ReaderOptions dictionary contains one or more values that are out of range.
    • Error_Allocation_Failed

      public static final BaseReader.ReaderError Error_Allocation_Failed
      Unable to allocate memory for the operation.
    • Error_Missing_Module

      public static final BaseReader.ReaderError Error_Missing_Module
      The SDK was unable to load a native module that the reader requires.
    • Error_Invalid_Image_Region

      public static final BaseReader.ReaderError Error_Invalid_Image_Region
      The image region is not valid. Each region side must be in the range of 0.0 - 1.0, and the region must be regular (i.e. left ≤ right, top ≤ bottom). In addition, the height and width of the region must both be greater than 0.15.
    • Error_Not_Initialized

      public static final BaseReader.ReaderError Error_Not_Initialized
      The DMSDetectorView must be initialized before most of its methods may be called.
    • Error_Internal

      public static final BaseReader.ReaderError Error_Internal
  • Method Details

    • values

      public static BaseReader.ReaderError[] 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

      public static BaseReader.ReaderError valueOf(String name)
      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 name
      NullPointerException - if the argument is null