Aila_SetLicenseProfile
Set the profile ID to use for cloud licensing.
Signature
- Objective-C
- Swift
void Aila_SetLicenseProfile(NSString *profile);
func Aila_SetLicenseProfile(_ profile: String)
Parameters
profile- The profile ID string for cloud licensing
Description
Sets the profile ID to use when cloud licensing is enabled. This allows the SDK to automatically retrieve and apply license updates from Aila's cloud service.
Usage
- Objective-C
- Swift
// Enable cloud licensing
AilaConfiguration *config = [[AilaConfiguration alloc] init];
config.cloudLicensing = AilaCloudLicensingOn;
Aila_SetConfiguration(config);
// Set profile ID
Aila_SetLicenseProfile(@"your-profile-id");
// Enable cloud licensing
let config = AilaConfiguration()
config.cloudLicensing = .on
Aila_SetConfiguration(config)
// Set profile ID
Aila_SetLicenseProfile("your-profile-id")
See Also
- Aila_ReadLicense - Initialize license file
- AilaCloudLicensing - Cloud licensing mode
- Aila_GetSDKLicensingInfo - Get licensing information