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
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
isEmpty()
Checks if thisStringResult
result 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.void
writeToParcel
(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
-AlphabetType
of 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
-AlphabetType
of thisStringResult
for which the side will be returned- Returns:
- location of the specified alphabet type result
-
side
Returns side of the specified alphabet type result. Returnsnull
if field is not present on the card.- Parameters:
alphabetType
-AlphabetType
of thisStringResult
for which the side will be returned- Returns:
- side of the specified alphabet type result
-
isEmpty
public boolean isEmpty()Checks if thisStringResult
result is empty.- Returns:
- true if the result is empty, false otherwise
-
toString
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-