License
Manages licensing for the Nutrient Native SDK. Provides methods to register license keys and trace licensed features in evaluation mode (without registering a key).
from nutrient import LicenseClass Methods
initialize_license
@classmethoddef initialize_license(cls, sdk_id: int, sdk_version: str) -> NoneInternal Use Only
Parameters:
| Name | Type | Description |
|---|---|---|
sdk_id | int | Internal Use Only |
sdk_version | str | Internal Use Only |
register_key
@classmethoddef register_key(cls, key: str) -> NoneUnlocks the SDK with a commercial or a demo license key. You can subsequently use this method to unlock the underlying implementation.
Parameters:
| Name | Type | Description |
|---|---|---|
key | str | The license key to register. |
trace_features
@classmethoddef trace_features(cls) -> strWhen the SDK is in trial mode, this method returns a string that lists the features that have been evaluated during the session.
Returns: str