register Callback For Challenge Cancelled Event
final String registerCallbackForChallengeCancelledEvent(String appId, Function0<Unit> callback)
Content copied to clipboard
Register a callback that will be called after the user cancelled the challenge. Returns the registration ID. Use it to unregister with unregisterCallbackForChallengeCancelledEvent 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.