Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
LicenseManager
The LicenseManager
class provides a set of APIs to manage SDK licensing.
Definition
Namespace: com.dynamsoft.license
Assembly: DynamsoftLicense.aar
class LicenseManager
Methods
Method | Description |
---|---|
initLicense |
Initialize the license. |
setDeviceFriendlyName |
Set a human readable name for the device. |
getDeviceUUID |
Get the device UUID. |
initLicense
Initialize the license.
static void initLicense(String license, @NonNull Context context, LicenseVerificationListener listener);
Parameters
[in] license
: A license key.
[in] context
: The context that you want to initialize the license.
[in] listener
: An listener object of LicenseVerificationListener
to monitor the license activation status.
setDeviceFriendlyName
Set a human readable name for the device.
static void setDeviceFriendlyName(String name);
Parameters
[in] name
: The name of the device.
getDeviceUUID
Get the device UUID.
static String getDeviceUUID(){}
Return Value
The device UUID.