Class DocumentLivenessCheckSingleSideResult
java.lang.Object
com.microblink.blinkcard.entities.recognizers.blinkcard.DocumentLivenessCheckSingleSideResult
- All Implemented Interfaces:
android.os.Parcelable
public final class DocumentLivenessCheckSingleSideResult
extends Object
implements android.os.Parcelable
Represents the result of a document liveness check on a single side of a card.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<DocumentLivenessCheckSingleSideResult>
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptioncreateFromNative
(TieredCheck screenCheck, TieredCheck photocopyCheck, int handPresenceCheck) This method is called from native code to buildDocumentLivenessCheckSingleSideResult
from native object.int
Retrieves the result of the check indicating the presence of a live hand.Retrieves the result of the check performed on the document using photocopy detection.Retrieves the result of the check performed on the document using screen detection.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
-
-
Method Details
-
getScreenCheck
Retrieves the result of the check performed on the document using screen detection.- Returns:
- result of the screen check
-
getPhotocopyCheck
Retrieves the result of the check performed on the document using photocopy detection.- Returns:
- result of the photocopy check
-
getHandPresenceCheck
Retrieves the result of the check indicating the presence of a live hand.- Returns:
- result of the live hand presence check.
-
createFromNative
@NonNull public static DocumentLivenessCheckSingleSideResult createFromNative(TieredCheck screenCheck, TieredCheck photocopyCheck, int handPresenceCheck) This method is called from native code to buildDocumentLivenessCheckSingleSideResult
from native object. -
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
-