Enum Class ScanOptions.ScanMode

java.lang.Object
java.lang.Enum<ScanOptions.ScanMode>
com.nefrock.edgeocr.ScanOptions.ScanMode
All Implemented Interfaces:
Serializable, Comparable<ScanOptions.ScanMode>, Constable
Enclosing class:
ScanOptions

public static enum ScanOptions.ScanMode extends Enum<ScanOptions.ScanMode>
スキャンモードを表す列挙型です。
  • Enum Constant Details

    • DEFAULT

      public static final ScanOptions.ScanMode DEFAULT
      画像内の文字を検出・認識します。
    • RECOGNITION_ONLY

      public static final ScanOptions.ScanMode RECOGNITION_ONLY
      画像内の文字に対する認識のみを行います。
    • ONE_SHOT

      public static final ScanOptions.ScanMode ONE_SHOT
      同期的に画像内の文字を検出・認識します。
  • Method Details

    • values

      public static ScanOptions.ScanMode[] 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 ScanOptions.ScanMode 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