LicenseInfo

data class LicenseInfo(val status: LicenseStatus, val isValid: Boolean, val licenseStatusMessage: String, val expirationTimestamp: Double, val expirationDateString: String, val errorMessage: String, val onlineLicenseCheckInProgress: Boolean, val license: String, val devices: Int? = null, val nextOnlineLicenseCheckInMs: Double, val deviceDeregistationErrors: List<DeviceDeregistrationError>) : Parcelable

Information about the SDK license.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(status: LicenseStatus, isValid: Boolean, licenseStatusMessage: String, expirationTimestamp: Double, expirationDateString: String, errorMessage: String, onlineLicenseCheckInProgress: Boolean, license: String, devices: Int? = null, nextOnlineLicenseCheckInMs: Double, deviceDeregistationErrors: List<DeviceDeregistrationError>)

Properties

Link copied to clipboard

List of errors that occurred during device deregistration. If for some device deregistration completed successfully, it will not be listed here. For each device at most one entry will be present.

Link copied to clipboard
val devices: Int? = null

Number of devices the license is valid for, if the license is floating.

Link copied to clipboard

Additional error message in case of a license error.

Link copied to clipboard

Expiration date of the license or trial period in ISO 8601 date-time format.

Link copied to clipboard

Expiration timestamp of the license or trial period in seconds since the UNIX epoch.

Link copied to clipboard

True if the license status corresponds to a valid license.

Link copied to clipboard

The currently active license. May be different from the license used to initialize the SDK if the online license check has completed and the server has sent an updated license.

Link copied to clipboard

Message describing the license status.

Link copied to clipboard

Time in milliseconds until the next online license check will be performed. -1 if no online license check is scheduled.

Link copied to clipboard

True if an online license check is in progress.

Link copied to clipboard

License status.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject