Class CroatiaQrCodePaymentRecognizer

java.lang.Object
com.microblink.photopay.entities.Entity<T>
com.microblink.photopay.entities.recognizers.Recognizer<CroatiaQrCodePaymentRecognizer.Result>
com.microblink.photopay.entities.recognizers.photopay.croatia.CroatiaQrCodePaymentRecognizer
All Implemented Interfaces:
android.os.Parcelable, JsonizableEntity

public final class CroatiaQrCodePaymentRecognizer extends Recognizer<CroatiaQrCodePaymentRecognizer.Result>
Recognizer which can scan Croatian payment QR code.
  • Field Details

  • Constructor Details

    • CroatiaQrCodePaymentRecognizer

      public CroatiaQrCodePaymentRecognizer()
  • Method Details

    • setSlowerThoroughScan

      public void setSlowerThoroughScan(boolean slowerThoroughScan)
      Defines if the recognizer should go slower through scan. If slowerThoroughScan is enabled, then scanning will be slower, but more thorough, thus giving higher possibility of successful scan. By default, this is set to 'true'.
    • isSlowerThoroughScan

      public boolean isSlowerThoroughScan()
      Defines if the recognizer should go slower through scan. If slowerThoroughScan is enabled, then scanning will be slower, but more thorough, thus giving higher possibility of successful scan. 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 class Entity<CroatiaQrCodePaymentRecognizer.Result>
    • serializeNativeSettings

      @Nullable protected byte[] serializeNativeSettings()
      Specified by:
      serializeNativeSettings in class Entity<CroatiaQrCodePaymentRecognizer.Result>
    • deserializeNativeSettings

      protected void deserializeNativeSettings(@NonNull byte[] serializedSettings)
      Specified by:
      deserializeNativeSettings in class Entity<CroatiaQrCodePaymentRecognizer.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 the RecognizerRunnerView or RecognizerRunner with the updated entity hierarchy.
      Specified by:
      clone in class Recognizer<CroatiaQrCodePaymentRecognizer.Result>
      Returns:
      a copy of the entity
    • consumeResultFrom

      public void consumeResultFrom(@NonNull Entity other)
      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 inside BaseIntentTransferable.loadFromIntent(Intent) and similar methods to replace the result content of the saved entities with results that have arrived over Intent
      Specified by:
      consumeResultFrom in class Entity<CroatiaQrCodePaymentRecognizer.Result>
      Parameters:
      other - Entity from which result should be consumed.