Skip to main content

llkGetFeatureLicensingType

Description

Provides information about the Limitation type of required Feature

Syntax

llkConsumeBatchOfExecutions
  LLKStatus LLK_API llkGetFeatureLicensingType(
uint32_t featureId,
LLKFeatureLicenseType* featureLicenseType);

Parameters

ParamDescription
featureIdFeature number
featureLicenseTypePointer of the variable

Return Values

Status CodeNo.Description
LLK_OK0Request was successfully completed. The operation status is successful
LLK_INVALID_PARAMETER1The parameter featureLicenseType is invalid (null pointers are forbidden)
LLK_FEATURE_NOT_FOUND2Requested Feature not found
LLK_LICENSE_NOT_ACTIVATED_YET12The 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