Static Public Member Functions | |
static void | setAppKey (String key) |
static String | getAppKey () |
static void | setExternalId (String id) |
static String | getExternalId () |
Detailed Description
Interface to set the scandit barcode scanner app key.
- Since
- 4.9.0
Member Function Documentation
|
static |
Set the Barcode Scanner application key to be used for this app.
You must call this static method at least once before instantiating the BarcodePicker with the key you downloaded from the Scandit website.
Calling this method does not directly activate the device and count toward your active devices. Device activation happens the first time a BarcodePicker is instantiated. It is thus save to set the app key at application start time, irrespective of whether the user is going to scan barcodes or not.
Note that currently it is not possible to change the app key after a picker has been instantiated. Only the app key set when the first picker is instantiated will be used. You will have to close the application and restart it before changing the app key.
- Parameters
-
key The application key.
- Since
- 4.9.0
|
static |
Get the currently set app key.
- Returns
- The currently set app key. By default no app key is set.
- Since
- 4.9.0
|
static |
Set a customer defined id that is verified in the license key.
Optional feature for resellers of the SDK.
- Parameters
-
id The external id.
- Since
- 5.9.0
|
static |
Get the currently set external id.
- Returns
- The currently set external id. By default no external id is set.
- Since
- 5.9.0
The documentation for this class was generated from the following file:
- ScanditLicense.java