Class Parser.Result

java.lang.Object
com.microblink.blinkinput.entities.Entity.Result
com.microblink.blinkinput.entities.parsers.Parser.Result
All Implemented Interfaces:
android.os.Parcelable
Direct Known Subclasses:
AmountParser.Result, DateParser.Result, EmailParser.Result, IbanParser.Result, LicensePlatesParser.Result, RawParser.Result, RegexParser.Result, TopUpParser.Result, VinParser.Result
Enclosing class:
Parser<T extends Parser.Result>

public abstract static class Parser.Result extends Entity.Result
  • Constructor Details

    • Result

      protected Result(long nativeResult)
  • Method Details

    • clone

      @NonNull public abstract Parser.Result clone()
      Description copied from class: Entity.Result
      Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.
      Specified by:
      clone in class Entity.Result
      Returns:
      a copy of the result
    • getResultState

      @NonNull public Parser.Result.State getResultState()
      Returns the state of the parser result.
      Returns:
      the state of the parser result.
    • toString

      @NonNull public String toString()
      Returns extracted result string.
      Overrides:
      toString in class Object
      Returns:
      extracted result string or empty string if it does not exist.
    • isEmpty

      protected final boolean isEmpty()
      Specified by:
      isEmpty in class Entity.Result