onHandleRequest

abstract fun onHandleRequest(payload: Map<String, Any> = mapOf())

Called to handle a request if the permission is granted, prompts the user to enable the permission otherwise.

Parameters

payload

The custom payload to do operations on if the permission is granted.