llkGetFeatureLicensingType
Description
Provides information about the Limitation type of required Feature
Syntax
llkConsumeBatchOfExecutions
LLKStatus LLK_API llkGetFeatureLicensingType(
uint32_t featureId,
LLKFeatureLicenseType* featureLicenseType);
Parameters
Param | Description |
---|---|
featureId | Feature number |
featureLicenseType | Pointer of the variable |
Return Values
Status Code | No. | Description |
---|---|---|
LLK_OK | 0 | Request was successfully completed. The operation status is successful |
LLK_INVALID_PARAMETER | 1 | The parameter featureLicenseType is invalid (null pointers are forbidden) |
LLK_FEATURE_NOT_FOUND | 2 | Requested Feature not found |
LLK_LICENSE_NOT_ACTIVATED_YET | 12 | The entitlement has not been activated yet. For activation/initialization, use llkActivateLicense |
Examples
C++ example
LLKFeatureLicenseType type = LLKFeatureLicenseType::LLK_UNKNOWN;
const LLKStatus status = llkGetFeatureLicensingType(featureId, &type);
/* handle the `status`*/
std::cout << "LLKFeatureLicenseType: " << type << std::endl;
Example of a successful operation (the value 3
means LLK_EXECUTIONS)
LLKFeatureLicenseType: 3
Note
In order to successfully use all other API functions, the entitlement must be activated or initialized. For activation/initialization, use llkActivateLicense
Version history
- Added in version
1.0.0