Class CharWithVariants
java.lang.Object
com.microblink.blinkid.results.ocr.CharWithVariants
- All Implemented Interfaces:
android.os.Parcelable
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
dispose()
getChar()
Returns theOcrChar
which contains information about the char.OcrChar[]
Returns the recognition variants of this char or null if there are no variants.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
CharWithVariants
-
-
Method Details
-
dispose
public void dispose() -
getChar
Returns theOcrChar
which contains information about the char.- Returns:
- the
OcrChar
which contains information about the char.
-
getRecognitionVariants
Returns the recognition variants of this char or null if there are no variants. Note that char is defined by all its parameters (value, font, position, quality, etc.), so in recognition variants it is possible to have same char value with different font.- Returns:
- the recognition variants of this char or null if there are no variants
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-