Class SlovakiaSlipRecognizer
java.lang.Object
com.microblink.photopay.entities.Entity<T>
com.microblink.photopay.entities.recognizers.Recognizer<SlovakiaSlipRecognizer.Result>
com.microblink.photopay.entities.recognizers.photopay.slovakia.slip.SlovakiaSlipRecognizer
- All Implemented Interfaces:
android.os.Parcelable,JsonizableEntity
Recognizer that scans payment information from Slovak payment slips
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<SlovakiaSlipRecognizer>Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Create a copy of the entity.voidconsumeResultFrom(Entity other) Consume result from other entity.protected voiddeserializeNativeSettings(byte[] serializedSettings) protected byte[]voidsetReadRecipientAddress(boolean readRecipientAddress) Defines whether or not recipient address should be read.voidsetReadRecipientName(boolean readRecipientName) Defines whether or not recipient name should be read.booleanDefines whether or not recipient address should be read.booleanDefines whether or not recipient name should be read.protected voidterminateNative(long nativeContext) Methods inherited from class com.microblink.photopay.entities.recognizers.Recognizer
getName, isExcludedFromPing, requiresAutofocus, requiresLandscapeMode, signedJsonNativeGet, toSignedJsonMethods inherited from class com.microblink.photopay.entities.Entity
describeContents, finalize, getNativeContext, getResult, nativeGetNativeResultContext, readFromParcel, writeToParcel
-
Field Details
-
CREATOR
-
-
Constructor Details
-
SlovakiaSlipRecognizer
public SlovakiaSlipRecognizer()
-
-
Method Details
-
setReadRecipientAddress
public void setReadRecipientAddress(boolean readRecipientAddress) Defines whether or not recipient address should be read. By default, this is set to 'true'. -
shouldReadRecipientAddress
public boolean shouldReadRecipientAddress()Defines whether or not recipient address should be read. By default, this is set to 'true'. -
setReadRecipientName
public void setReadRecipientName(boolean readRecipientName) Defines whether or not recipient name should be read. By default, this is set to 'true'. -
shouldReadRecipientName
public boolean shouldReadRecipientName()Defines whether or not recipient name should be read. By default, this is set to 'true'. -
terminateNative
protected void terminateNative(long nativeContext) - Specified by:
terminateNativein classEntity<SlovakiaSlipRecognizer.Result>
-
serializeNativeSettings
@Nullable protected byte[] serializeNativeSettings()- Specified by:
serializeNativeSettingsin classEntity<SlovakiaSlipRecognizer.Result>
-
deserializeNativeSettings
protected void deserializeNativeSettings(@NonNull byte[] serializedSettings) - Specified by:
deserializeNativeSettingsin classEntity<SlovakiaSlipRecognizer.Result>
-
clone
Description copied from class:EntityCreate a copy of the entity. This is required if properties of the entity must be modified while background thread performs processing. In order to avoid race conditions, changing properties is not allowed while entity is used in background processing. However, you are able to make a copy of the entity, change properties of it and then update theRecognizerRunnerVieworRecognizerRunnerwith the updated entity hierarchy.- Specified by:
clonein classRecognizer<SlovakiaSlipRecognizer.Result>- Returns:
- a copy of the entity
-
consumeResultFrom
Description copied from class:EntityConsume result from other entity. The result from other will be put instead current result of this entity. This method is used insideBaseIntentTransferable.loadFromIntent(Intent)and similar methods to replace the result content of the saved entities with results that have arrived overIntent- Specified by:
consumeResultFromin classEntity<SlovakiaSlipRecognizer.Result>- Parameters:
other- Entity from which result should be consumed.
-