isActive static method
- String productId
Checks whether the given product is currently active on the device.
Parameters
productId: The product identifier to query.
Returns
trueif the product is active on this device, otherwisefalse.
Throws
- May throw an exception for unexpected platform call failures.
Also see:
- getActivationsForProduct - Retrieve activation information.
Implementation
static bool isActive(final String productId) {
final OperationResult resultString = staticMethod(
'ActivationService',
'isActive',
args: productId,
);
return resultString['result'];
}