completeActivation static method
- String activationResponseBlob
Completes an activation that required an extra manual step.
Used when the activation flow required an out-of-band/manual request.
Pass the activationResponseBlob obtained from the manual activation
service call to finalize the activation locally.
Parameters
activationResponseBlob: The response blob returned by the activation service as described in the manual activation instructions.
Returns
- A tuple containing:
- GemError: Result code describing the outcome. Possible GemError values:
- GemError.success: Activation completed successfully.
- GemError.invalidInput: Provided blob is invalid; check the returned hint.
- GemError.notFound: No matching activation found on this device.
- GemError.io: IO error while updating local license storage.
- String: A hint or additional information from the platform.
- GemError: Result code describing the outcome. Possible GemError values:
Also see:
- activate - Activates a product using the supplied license key.
- completeOfflineActivation - Complete an offline activation flow.
Implementation
static (GemError, String) completeActivation(
final String activationResponseBlob,
) {
final OperationResult resultString = staticMethod(
'ActivationService',
'completeActivation',
args: activationResponseBlob,
);
return (
GemErrorExtension.fromCode(resultString['result']['first']),
resultString['result']['second'],
);
}