public class LicenseManager extends Object
Constructor and Description |
---|
LicenseManager(Context context) |
LicenseManager(Context context,
Configuration configuration,
String badStandingReason,
Date lastLicenseCheck)
Deprecated.
Not for public use. As of 0.12.0 no replacement.
|
Modifier and Type | Method and Description |
---|---|
void |
clearPartnerId()
Clears the partner identifier string for analytics.
|
String |
getAccountId() |
Configuration |
getConfiguration() |
String |
getDeviceId() |
int |
getServerCheckCount()
Deprecated.
Not for public use. As of 0.12.0 no replacement.
|
void |
reconfigure(Configuration config)
Used to change the credentials at runtime.
|
void |
reconfigure(Context context)
Deprecated.
As of 0.10.0, replaced by
LicenseManager.reconfigure(Configuration) |
void |
reconfigure(String apiUrl,
String apiToken)
Deprecated.
As of 0.10.0, replaced by
LicenseManager.reconfigure(Configuration) |
void |
resetLicenseCheck()
Deprecated.
Not for public use. As of 0.12.0 no replacement. This method no longer does
anything.
|
void |
setPartnerId(String identifier)
Sets the partner identifier string for analytics.
|
void |
validateLicense()
Deprecated.
Not for public use. As of 0.12.0 no replacement. This method no longer does
anything.
|
public LicenseManager(Context context)
@Deprecated public LicenseManager(Context context, Configuration configuration, String badStandingReason, Date lastLicenseCheck)
@Deprecated public void reconfigure(Context context)
LicenseManager.reconfigure(Configuration)
context
- @Deprecated public void reconfigure(String apiUrl, String apiToken)
LicenseManager.reconfigure(Configuration)
apiUrl
- apiToken
- public void reconfigure(Configuration config)
config
- The new configuration settings for the manager.public Configuration getConfiguration()
public String getAccountId()
@Deprecated public int getServerCheckCount()
0
.public void setPartnerId(String identifier)
identifier
- Custom partner identifier used for analyticspublic void clearPartnerId()
@Deprecated public void validateLicense()
public String getDeviceId()
@Deprecated public void resetLicenseCheck()