Inherits TiViewProxy.
Barcode Picker Setup | |
Initialize and prepare the barcode picker, control standby state and set overlay | |
static String | appKey |
static int | cameraFacingPreference |
static scanditsdkView | createView () |
static ScanCase | createScanCase (Map< String, Object > settings) |
Detailed Description
Proxy for the ScanditSDK module, needed to set the app key and create the actual scanditsdkView which can then be added to a view hierarchy.
- Since
- 1.0.0
Minimal example to set up the barcode picker and start scanning.
- Examples:
- app.js.
Member Function Documentation
|
static |
Creates the actual view that can be added to a view hierarchy.
- Returns
- a new view
- Since
- 1.0.0
- See also
- scanditsdkView
This function is inherited from TiViewProxy and is the standard way to retrieve a module's view.
- Examples:
- app.js.
|
static |
Creates a new scan case instance.
- Returns
- a new scan case.
While it's possible to create multiple scan case instances, it is recommend to only have one scan case per application.
- Since
- 5.1.0
- See also
- ScanCase
- Parameters
-
settings properties to be set on the scan case. This parameter can be omitted.
Member Data Documentation
|
static |
Your Scandit SDK App Key.
You always have to statically set the app key before requesting the view.
- Since
- 4.4.3
- Examples:
- app.js.
|
static |
A preference for which way the camera should face when first creating the view (0 for backward (default) camera, 1 for front camera).
- Since
- 4.4.3
- Examples:
- app.js.