deleteActivation static method
- String productId
Deletes an activation entry identified by its id.
Do not confuse deactivation with deletion of an activation record on the device. Deactivation notifies the activation service that the license is no longer in use on this device, allowing it to be reactivated elsewhere if the license terms permit. Deletion simply removes the activation record locally without notifying the activation service.
Parameters
productId: The activation id to delete.
Returns
- GemError.success: Deletion succeeded.
- GemError.notFound: No activation with the given id was found.
Implementation
static GemError deleteActivation(final String productId) {
final OperationResult resultString = staticMethod(
'ActivationService',
'deleteActivation',
args: productId,
);
return GemErrorExtension.fromCode(resultString['result']);
}