deleteActivation static method

GemError deleteActivation(
  1. 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

Implementation

static GemError deleteActivation(final String productId) {
  final OperationResult resultString = staticMethod(
    'ActivationService',
    'deleteActivation',
    args: productId,
  );

  return GemErrorExtension.fromCode(resultString['result']);
}