Class BlinkIdUISettings

    • Constructor Detail

      • BlinkIdUISettings

        public BlinkIdUISettings​(@Nullable
                                 RecognizerBundle recognizerBundle)
      • BlinkIdUISettings

        public BlinkIdUISettings​(@NonNull
                                 android.content.Intent intent)
    • Method Detail

      • setOverlayViewStyle

        public void setOverlayViewStyle​(@StyleRes
                                        int styleResourceID)
        Provide your own style to replace default icons and colors. Supports attributes from R.styleable.BlinkIdReticleOverlay
        Specified by:
        setOverlayViewStyle in interface StyleUIOptions
        styleResourceID - your style
      • getStyle

        protected int getStyle()
      • setShowFlashlightWarning

        public void setShowFlashlightWarning​(boolean showFlashlightWarning)
        Description copied from interface: FlashlightWarningUIOptions
        Defines whether flashlight warning will be displayed in UI, when flashlight is turned ON. Default is true.
        Specified by:
        setShowFlashlightWarning in interface FlashlightWarningUIOptions
        showFlashlightWarning - whether flashlight warning will be displayed in UI.
      • getShowFlashlightWarning

        protected boolean getShowFlashlightWarning()
      • getTargetActivity

        public java.lang.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.
        Specified by:
        getTargetActivity in class UISettings<BlinkIdOverlayController>
        target activity.