Class StringResult
java.lang.Object
com.microblink.blinkid.entities.recognizers.blinkid.generic.StringResult
- All Implemented Interfaces:
android.os.Parcelable
Multi-alphabet String result.
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisEmpty()Checks if thisStringResultresult is empty.location(AlphabetType alphabetType) Returns field location of the specified alphabet type result.side(AlphabetType alphabetType) Returns side of the specified alphabet type result.toString()value()Returns the non-empty value, if such is present, with priority given to Latin alphabet.value(AlphabetType alphabetType) Returns value of the specified alphabet type.voidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Constructor Details
-
StringResult
-
-
Method Details
-
value
Returns the non-empty value, if such is present, with priority given to Latin alphabet.- Returns:
- String result with priority given to Latin alphabet
-
value
Returns value of the specified alphabet type.- Parameters:
alphabetType-AlphabetTypeof the returned String- Returns:
- value of the specified alphabet type
-
location
Returns field location of the specified alphabet type result. Returns rectangle with top, bottom, left, and right set to 0 if field is not present on the card.- Parameters:
alphabetType-AlphabetTypeof thisStringResultfor which the side will be returned- Returns:
- location of the specified alphabet type result
-
side
Returns side of the specified alphabet type result. Returnsnullif field is not present on the card.- Parameters:
alphabetType-AlphabetTypeof thisStringResultfor which the side will be returned- Returns:
- side of the specified alphabet type result
-
isEmpty
public boolean isEmpty()Checks if thisStringResultresult is empty.- Returns:
- true if the result is empty, false otherwise
-
toString
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-