onRequestPermissionForStack

fun onRequestPermissionForStack(permission: String, grantResult: Int)

Call this method to request permission. Should call this method after received the callback STWRequestPermissionsCallback.requestPermission to return the permission result (granted or denied)

Parameters

permission

: The permission to request

grantResult

: The grant result for the corresponding permission