EasyManua.ls Logo

Zebra ET51 - Soft Scan Trigger; Function Prototype; Scanner Input Plugin; Parameters

Zebra ET51
158 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
102
Soft Scan Trigger
DataWedge allows a native Android application to programmatically start, stop, or toggle the scan trigger state.
The application can issue an Android Broadcast Intent, to control the scanner, without requiring the scan key to
be pressed. The active DataWedge profile is required to control all the parameters during a scan operation.
Function Prototype
Scanner Input Plugin
The ScannerInputPlugin API command can be used to enable/disable the scanner plug-in being used by the
currently active Profile. Disabling the scanner plug-in effectively disables scanning in that Profile, regardless of
whether the Profile is associated or unassociated. Valid only when Barcode Input is enabled in the active
Profile.
NOTE: Use of this API changes only the runtime status of the scanner; it does not make persistent changes to the Profile.
Parameters
action: String "com.symbol.datawedge.api.ACTION"
extra_data: "com.symbol.datawedge.api.SOFT_SCAN_TRIGGER"
<parameter>: The parameter as a string, using any of the following:
START_SCANNING - starts scanning when triggered
STOP_SCANNING - stops or interrupts scanning when triggered
TOGGLE_SCANNING - toggles between START_SCANNING and STOP_SCANNING when triggered
Function Prototype
Parameters
action: String "com.symbol.datawedge.api.ACTION_SCANNERINPUTPLUGIN"
extra_data: String "com.symbol.datawedge.api.EXTRA_PARAMETER"
<parameter>: The parameter as a string, using either of the following:
ENABLE_PLUGIN - enables the plug-in
DISABLE_PLUGIN - disables the plug-in
Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
i.putExtra("com.symbol.datawedge.api.SOFT_SCAN_TRIGGER", "<parameter>");
Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
i.putExtra("com.symbol.datawedge.api.SCANNER_INPUT_PLUGIN", "<parameter>");

Table of Contents

Other manuals for Zebra ET51

Related product manuals