setPassFreeLimitAmount
Call the setPassFreeLimitAmount API to set the pass free limit amount, which is the amountLevel parameter in the request parameter of the init API.
Method signature
copy
void setPassFreeLimitAmount(@NotNull String amountLevelKey, @Nullable ACResultCallback<Boolean> callback);Request parameters
Item | Type | Description | Required |
amountLevelKey | String | The key value for the pass free limit amount.
| Required |
callback | ACResultCallback<Boolean> | The callback for updating the pass free limit amount. Valid values are:
| Optional |
Response parameters
N/A
Sample
copy
ACTapManager.getInstance(this.getApplication()).setPassFreeLimitAmount(amountLevelKey, callback)