Shared

object Shared

Provides access to a single, shared instance of the LicenseManager.

Since

4.2.0

Properties

Link copied to clipboard

List of Nix device allocation codes associated with the current license.

Link copied to clipboard

Set of device types supported by the current license.

Link copied to clipboard

Expiry date for the current license.

Link copied to clipboard

Set of features enabled by the current license.

Link copied to clipboard

Current version of the Nix Universal SDK.

Link copied to clipboard

Describes the current state of the LicenseManager. Nix Universal SDK functions are available only if license is active (i.e. - the state is LicenseManagerState.ACTIVE)

Link copied to clipboard

Vendor identifier for the current license.

Functions

Link copied to clipboard
fun activate(context: Context, options: String, signature: String): LicenseManagerState

Activates a license. The options and signature parameters must exactly match the values provided in the SDK license. Calling this function invalidates any currently active license.

Link copied to clipboard

Deactivates the current license.

Link copied to clipboard

Helper to check if a particular DeviceType is supported by the current license.

Link copied to clipboard

Helper to check if a particular LicenseFeature is enabled by the current license.