GetActivationMeterAttributeUses static method
Returns the meter attribute uses consumed by the activation associated
with the meter attribute name
.
The function throws a LexActivatorException on error.
Implementation
static int GetActivationMeterAttributeUses({
required String name,
}) {
final uses = calloc<Uint32>();
int status = _lexActivatorNative.GetActivationMeterAttributeUses(
name,
uses,
);
if (LexStatusCodes.LA_OK != status) {
throw LexActivatorException(status);
}
return uses.value;
}