data class Content : GeckoPermissionRequest
(source)
Represents a gecko-based content permission request.
Content(uri: String, type: Int, callback: Callback)
Represents a gecko-based content permission request. |
val uri: String
the URI of the content requesting the permissions. |
open val permissions: List<Permission>
the list of requested permissions. |
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. |
val permissionsMap: Map<Int, Permission> |