Class CroatiaPdf417PaymentRecognizer
java.lang.Object
com.microblink.photopay.entities.Entity<T>
com.microblink.photopay.entities.recognizers.Recognizer<CroatiaPdf417PaymentRecognizer.Result>
com.microblink.photopay.entities.recognizers.photopay.croatia.CroatiaPdf417PaymentRecognizer
- All Implemented Interfaces:
android.os.Parcelable
,JsonizableEntity
public final class CroatiaPdf417PaymentRecognizer
extends Recognizer<CroatiaPdf417PaymentRecognizer.Result>
Recognizer which can scan Croatian payment QR code.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final android.os.Parcelable.Creator<CroatiaPdf417PaymentRecognizer>
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Create a copy of the entity.void
consumeResultFrom
(Entity other) Consume result from other entity.protected void
deserializeNativeSettings
(byte[] serializedSettings) float
The rate at which the conversion from EUR to HRK will be made.boolean
Uncertain decoding enables scanning of non-standard elements, but there is no guarantee that all data will be read.protected byte[]
void
setConversionRate
(float conversionRate) The rate at which the conversion from EUR to HRK will be made.void
setUncertainDecoding
(boolean uncertainDecoding) Uncertain decoding enables scanning of non-standard elements, but there is no guarantee that all data will be read.protected void
terminateNative
(long nativeContext) Methods inherited from class com.microblink.photopay.entities.recognizers.Recognizer
getName, isExcludedFromPing, requiresAutofocus, requiresLandscapeMode, signedJsonNativeGet, toSignedJson
Methods inherited from class com.microblink.photopay.entities.Entity
describeContents, finalize, getNativeContext, getResult, nativeGetNativeResultContext, readFromParcel, writeToParcel
-
Field Details
-
CREATOR
-
-
Constructor Details
-
CroatiaPdf417PaymentRecognizer
public CroatiaPdf417PaymentRecognizer()
-
-
Method Details
-
setUncertainDecoding
public void setUncertainDecoding(boolean uncertainDecoding) Uncertain decoding enables scanning of non-standard elements, but there is no guarantee that all data will be read. For Pdf417 barcode is used when multiple rows are missing (e.g. not whole barcode is printed). By default, this is set to 'true'. -
isUncertainDecoding
public boolean isUncertainDecoding()Uncertain decoding enables scanning of non-standard elements, but there is no guarantee that all data will be read. For Pdf417 barcode is used when multiple rows are missing (e.g. not whole barcode is printed). By default, this is set to 'true'. -
setConversionRate
public void setConversionRate(float conversionRate) The rate at which the conversion from EUR to HRK will be made. By default, this is set to '7.5345'. -
getConversionRate
public float getConversionRate()The rate at which the conversion from EUR to HRK will be made. By default, this is set to '7.5345'. -
terminateNative
protected void terminateNative(long nativeContext) - Specified by:
terminateNative
in classEntity<CroatiaPdf417PaymentRecognizer.Result>
-
serializeNativeSettings
@Nullable protected byte[] serializeNativeSettings()- Specified by:
serializeNativeSettings
in classEntity<CroatiaPdf417PaymentRecognizer.Result>
-
deserializeNativeSettings
protected void deserializeNativeSettings(@NonNull byte[] serializedSettings) - Specified by:
deserializeNativeSettings
in classEntity<CroatiaPdf417PaymentRecognizer.Result>
-
clone
Description copied from class:Entity
Create 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 theRecognizerRunnerView
orRecognizerRunner
with the updated entity hierarchy.- Specified by:
clone
in classRecognizer<CroatiaPdf417PaymentRecognizer.Result>
- Returns:
- a copy of the entity
-
consumeResultFrom
Description copied from class:Entity
Consume 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:
consumeResultFrom
in classEntity<CroatiaPdf417PaymentRecognizer.Result>
- Parameters:
other
- Entity from which result should be consumed.
-