Package io.anyline2.viewplugin
Class ViewPluginComposite
-
- All Implemented Interfaces:
public class ViewPluginComposite extends ViewPluginBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ViewPluginComposite.ProcessingMode
-
Field Summary
Fields Modifier and Type Field Description private final List<ScanViewPlugin>
children
private final Integer
index
private final ViewPluginComposite.ProcessingMode
processingMode
private final JSONObject
jsonConfig
public final Event<JSONObject>
errorReceived
public final Event<JSONObject>
visualFeedbackReceived
public final Event<JSONObject>
scanInfoReceived
public final Event<JSONObject>
runSkippedReceived
public final Event<ScanResult>
resultReceived
public final Event<List<ScanResult>>
resultsReceived
public final Event<JSONObject>
uiFeedbackInfoReceived
-
Constructor Summary
Constructors Constructor Description ViewPluginComposite(JSONObject jsonConfig)
-
Method Summary
Modifier and Type Method Description final List<ScanViewPlugin>
getChildren()
final Integer
getIndex()
final ViewPluginComposite.ProcessingMode
getProcessingMode()
final JSONObject
getJsonConfig()
Unit
setUIChangeListener(UIChangeListener listener)
List<ScanViewPlugin>
getActiveScanViewPlugin()
String
id()
List<ScanViewPlugin>
children()
Unit
subscribeToImageProvider(ImageProvider imageProvider)
Unit
unsubscribeFromImageProvider(ImageProvider imageProvider)
Unit
subscribeToNativeBarcodeProvider(NativeBarcodeProvider nativeBarcodeProvider, List<BarcodeFormat> supportedFormats)
Unit
unsubscribeFromNativeBarcodeProvider(NativeBarcodeProvider nativeBarcodeProvider)
Boolean
isScanPluginRunning()
Boolean
isStarted()
Unit
start()
Unit
stop()
Unit
dispose()
-
-
Constructor Detail
-
ViewPluginComposite
ViewPluginComposite(JSONObject jsonConfig)
-
-
Method Detail
-
getChildren
final List<ScanViewPlugin> getChildren()
-
getProcessingMode
final ViewPluginComposite.ProcessingMode getProcessingMode()
-
getJsonConfig
final JSONObject getJsonConfig()
-
setUIChangeListener
Unit setUIChangeListener(UIChangeListener listener)
-
getActiveScanViewPlugin
List<ScanViewPlugin> getActiveScanViewPlugin()
-
children
List<ScanViewPlugin> children()
-
subscribeToImageProvider
Unit subscribeToImageProvider(ImageProvider imageProvider)
-
unsubscribeFromImageProvider
Unit unsubscribeFromImageProvider(ImageProvider imageProvider)
-
subscribeToNativeBarcodeProvider
Unit subscribeToNativeBarcodeProvider(NativeBarcodeProvider nativeBarcodeProvider, List<BarcodeFormat> supportedFormats)
-
unsubscribeFromNativeBarcodeProvider
Unit unsubscribeFromNativeBarcodeProvider(NativeBarcodeProvider nativeBarcodeProvider)
-
isScanPluginRunning
Boolean isScanPluginRunning()
-
-
-
-