register Callback For Request Blocked Event
final String registerCallbackForRequestBlockedEvent(String appId, Function0<Unit> callback)
Content copied to clipboard
Register a callback that will be called after a request was blocked. Returns the registration ID. Use it to unregister with unregisterCallbackForRequestBlockedEvent function. This function returns nil on failure. You must call the start function before calling this function.
Parameters
app Id
The AppID of your account. Ignore this param if you use only one AppID.
callback
The callback to register.