Class ViewPluginBase

  • Direct Known Subclasses:
    ScanViewPlugin

    public abstract class ViewPluginBase
    extends java.lang.Object
    • Field Detail

      • errorReceived

        public Event<org.json.JSONObject> errorReceived
      • visualFeedbackReceived

        public Event<org.json.JSONObject> visualFeedbackReceived
      • scanInfoReceived

        public Event<org.json.JSONObject> scanInfoReceived
      • runSkippedReceived

        public Event<org.json.JSONObject> runSkippedReceived
      • resultReceived

        public Event<ScanResult> resultReceived
      • resultsReceived

        public Event<java.util.List<ScanResult>> resultsReceived
    • Constructor Detail

      • ViewPluginBase

        public ViewPluginBase()
    • Method Detail

      • id

        public abstract java.lang.String id()
      • getActiveScanViewPlugin

        public abstract java.util.List<ScanViewPlugin> getActiveScanViewPlugin()
      • getFirstActiveScanViewPlugin

        public ScanViewPlugin getFirstActiveScanViewPlugin()
      • children

        public abstract java.util.List<ScanViewPlugin> children()
      • setUIChangeListener

        public abstract void setUIChangeListener​(UIChangeListener listener)
      • subscribeToImageProvider

        public abstract void subscribeToImageProvider​(ImageProvider imageProvider)
      • unsubscribeFromImageProvider

        public abstract void unsubscribeFromImageProvider​(ImageProvider imageProvider)
      • subscribeToNativeBarcodeProvider

        public abstract void subscribeToNativeBarcodeProvider​(NativeBarcodeProvider nativeBarcodeProvider,
                                                              java.util.List<BarcodeFormat> supportedFormats)
      • unsubscribeFromNativeBarcodeProvider

        public abstract void unsubscribeFromNativeBarcodeProvider​(NativeBarcodeProvider nativeBarcodeProvider)
      • isStarted

        public abstract boolean isStarted()
      • isScanPluginRunning

        public abstract boolean isScanPluginRunning()
      • start

        public abstract void start()
      • stop

        public abstract void stop()
      • dispose

        public abstract void dispose()
      • playBeepSound

        public void playBeepSound()
      • vibrate

        public void vibrate()