class SystemPermissionRequest : PermissionRequest
(source)
WebView-based implementation of PermissionRequest.
SystemPermissionRequest(nativeRequest: PermissionRequest)
WebView-based implementation of PermissionRequest. |
val permissions: List<Permission>
List of requested permissions. |
|
val uri: String
The origin URI which caused the permissions to be requested. |
fun grant(permissions: List<Permission>): Unit
Grants the provided permissions, or all requested permissions, if none are provided. |
|
fun reject(): Unit
Rejects the requested permissions. |
open fun grantIf(predicate: (Permission) -> Boolean): Boolean
Grants this permission request if the provided predicate is true for any of the requested permissions. |
val permissionsMap: Map<String, Permission> |