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>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.microblink.blinkinput.entities.Entity.Result
mOwnerFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Parser.Resultclone()Create a copy of the result.Returns the state of the parser result.protected final booleanisEmpty()toString()Returns extracted result string.Methods inherited from class com.microblink.blinkinput.entities.Entity.Result
describeContents, deserializeFromByteArray, finalize, getNativeContext, readFromParcel, serializeToByteArray, terminateNative, writeToParcel
-
Constructor Details
-
Result
protected Result(long nativeResult)
-
-
Method Details
-
clone
Description copied from class:Entity.ResultCreate a copy of the result. This is required in order to retain the result even after owning entity has mutated it.- Specified by:
clonein classEntity.Result- Returns:
- a copy of the result
-
getResultState
Returns the state of the parser result.- Returns:
- the state of the parser result.
-
toString
Returns extracted result string. -
isEmpty
protected final boolean isEmpty()- Specified by:
isEmptyin classEntity.Result
-