public class GKLicensing
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
LICENSES
The
String license IDs needed by GateKeeper biometrics. |
protected FetchExistingLicense |
mFetchExistingLicense |
protected GenerateActiveLicense |
mGenerateActiveLicense |
protected java.lang.String |
mLicenseSubDir |
static java.lang.String |
TAG |
| Constructor and Description |
|---|
GKLicensing(java.lang.String licenseSubDir,
GKFileActions fileActions,
BiometricLicenseManager licenseManager)
Create a
GKLicensing with the given host address and port. |
| Modifier and Type | Method and Description |
|---|---|
GKLicenseValidationResult |
obtainLicenses()
Checks the specified subdirectory for an activated license and validates it
If no activated license is found, attempt to activate one
|
public static final java.lang.String TAG
public static final java.lang.String[] LICENSES
String license IDs needed by GateKeeper biometrics.protected final java.lang.String mLicenseSubDir
protected FetchExistingLicense mFetchExistingLicense
protected GenerateActiveLicense mGenerateActiveLicense
public GKLicensing(java.lang.String licenseSubDir,
GKFileActions fileActions,
BiometricLicenseManager licenseManager)
GKLicensing with the given host address and port.licenseSubDir - the directory on the card to look for activated licensesfileActions - GKFileActionslicenseManager - a BiometricLicenseManager which wraps the NLicense classpublic GKLicenseValidationResult obtainLicenses()
GKLicenseValidationResult indicating success or a reason for failure