Scanner.switchScanner()

Overview

Switches from the current scanner to the specified scanner.

Format

Scanner.switchScanner(scannerName);

Parameter Description Type Required
scannerName

The scanner to switch to.

Use one of the following values:

"Bluebird" Scanner for Bluebird device.

"Camera" Uses the device's camera to scan.

"Casio" Scanner for Casio device.

"Cipherlab" Scanner for CipherLab device.

"Cognex" Scanner for Cognex device.

"Datalogic" Scanner for Datalogic device.

"Default" The default scanner for the hardware.

"Honeywell" Scanner for Honeywell device.

"Infinite Peripherals" for scanner for Infinite Peripherals sled. (iOS)

"M3Mobile" Scanner for M3Mobile device.

"None" No scanner.

"Panasonic" Scanner for Panasonic device.

"PointMobile" Scanner for PointMobile device.

"Seuic" Scanner for Seuic device.

"Zebra" Scanner for Zebra device.

"ZebraRFID" RFID reader for Zebra device.

String Required

Example

Copy
/* Use the camera scanner instead of the default scanner.
 */
 
 Scanner.switchScanner("Camera");