Barcode Xpress Mobile for Android
|
Provides a way of passing license information to the native recognition library. More...
Public Member Functions | |
BXLicense (String OEMKey, Application application, long solutionKey1, long solutionKey2, long solutionKey3, long solutionKey4) | |
Creates a BXLicense object using license information provided by Accusoft and a reference to the current android.app.Application object. | |
Application | getApplication () |
Get the Application object. | |
String | getOEMKey () |
Get the OEM Key. | |
long[] | getSolutionKey () |
Get the Solution Key. |
Provides a way of passing license information to the native recognition library.
BXLicense | ( | String | OEMKey, |
Application | application, | ||
long | solutionKey1, | ||
long | solutionKey2, | ||
long | solutionKey3, | ||
long | solutionKey4 | ||
) | [inline] |
Creates a BXLicense object using license information provided by Accusoft and a reference to the current android.app.Application object.
Example OEM license key:
A/2R0LQRQeRHHaen+bqwcggdbB7kDTDCCzU/P3GtiXQlnr0byBOCQW+5FPoBG/O4 2hVmCcxrZr4zBuUmFgsw64jJFhKsRtUqjdvWzqyJY2guYfZNhswtgziXZZm6n/rb gv9pKn9pLFWmXk579SjZw7ZFDD3wWJM1XzyeW5VbAuw=
Example Instantiation:
new BXLicense("A/2R0LQRQeRHHaen+bqwcggdbB7kDTDCCzU/P3GtiXQlnr0byBOCQW+5FPoBG/O4\n" + "2hVmCcxrZr4zBuUmFgsw64jJFhKsRtUqjdvWzqyJY2guYfZNhswtgziXZZm6n/rb\n" + "gv9pKn9pLFWmXk579SjZw7ZFDD3wWJM1XzyeW5VbAuw=\n", getApplication(), 0, 0, 0, 0);
Note that the OEM license key spans three lines. The newline "\n" at the end of each line is required.
OEMKey | A string containing an OEM license key provided by Accusoft. |
application | A reference to the applications android.app.Application object. This can be obtained via Activity.getApplication() or Service.getApplication(). |
solutionKey1 | Solution Key 1, provided by Accusoft as part of the license. |
solutionKey2 | Solution Key 2, provided by Accusoft as part of the license. |
solutionKey3 | Solution Key 3, provided by Accusoft as part of the license. |
solutionKey4 | Solution Key 4, provided by Accusoft as part of the license. |
Application getApplication | ( | ) | [inline] |
Get the Application object.
String getOEMKey | ( | ) | [inline] |
Get the OEM Key.
long [] getSolutionKey | ( | ) | [inline] |
Get the Solution Key.