ACTION_SCAN
Deprecated
Deprecated
This does not work on recent devices. Use BarcodeScanner instead.
Broadcast to start barcode scanner service on Station or Mini (Mobile scanner must be activated via physical trigger) Extras passed:- EXTRA_START_SCAN - true will start scanner, false will close scanner (Required)
- EXTRA_SHOW_PREVIEW - whether scanner preview video will be shown, default is true. The preview window cannot be hidden on Clover Flex 1 (C401) devices.
- EXTRA_SHOW_MERCHANT_PREVIEW - whether scanner preview will be shown in merchant facing mode, default is true
- EXTRA_SHOW_CUSTOMER_PREVIEW - whether scanner preview will be shown in customer facing mode, default is true
- EXTRA_LED_ON - whether LED will be on (selected devices only), default is false
- EXTRA_SCAN_QR_CODE - whether QR codes will be scanned, default is true
- EXTRA_SCAN_1D_CODE - whether 1D codes will be scanned, default is true
- EXTRA_SHOW_CLOSE_BUTTON - whether scanner preview will have a 'close' button, default is true
- EXTRA_SHOW_LED_BUTTON - whether scanner preview will have an LED toggle, default is true