Class OcrLineUISettings

All Implemented Interfaces:
BeepSoundUIOptions, DebugImageListenerUIOptions, HelpIntentUIOptions, HighResSuccessFrameCaptureUIOptions, OcrResultDisplayUIOptions, SplashScreenUIOptions

public class OcrLineUISettings extends PhotopayUISettings
  • Constructor Details

    • OcrLineUISettings

      public OcrLineUISettings(@NonNull RecognizerBundle recognizerBundle)
    • OcrLineUISettings

      public OcrLineUISettings(@NonNull android.content.Intent intent)
  • Method Details

    • setShowInfoMessages

      public void setShowInfoMessages(boolean showInfoMessages)
      Defines whether scan info messages will be displayed in UI.
      Parameters:
      showInfoMessages - whether scan info messages will be displayed in UI.
    • createOverlaySettingsBuilder

      @NonNull protected BasicOverlaySettings.Builder createOverlaySettingsBuilder()
      Overrides:
      createOverlaySettingsBuilder in class PhotopayUISettings
    • getTargetActivity

      @NonNull public Class<?> getTargetActivity()
      Description copied from class: UISettings
      Returns target activity. Concrete settings can be used only with the corresponding activity. This method is public for convenience when you are not able to use ActivityRunner. DO NOT USE THIS METHOD UNLESS YOU KNOW WHAT YOU ARE DOING. Improper usage will crash your app.
      Overrides:
      getTargetActivity in class PhotopayUISettings
      Returns:
      target activity.