onHandleRequest

open override fun onHandleRequest(payload: Map<String, Any>)

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.