sealed class GeckoPermissionRequest : PermissionRequest
(source)
Gecko-based implementation of PermissionRequest.
data class App : GeckoPermissionRequest
Represents a gecko-based application permission request. |
|
data class Content : GeckoPermissionRequest
Represents a gecko-based content permission request. |
|
data class Media : GeckoPermissionRequest
Represents a gecko-based media permission request. |
open val permissions: List<Permission>
the list of requested permissions. |
abstract val uri: String?
The origin URI which caused the permissions to be requested. |
open fun grant(permissions: List<Permission>): Unit
Grants the provided permissions, or all requested permissions, if none are provided. |
|
open 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. |
data class App : GeckoPermissionRequest
Represents a gecko-based application permission request. |
|
data class Content : GeckoPermissionRequest
Represents a gecko-based content permission request. |
|
data class Media : GeckoPermissionRequest
Represents a gecko-based media permission request. |