PermissionRequest

A permission request.

There are situations where an embedder would need to ask the user for permission to do certain types of operations, such as switching to fullscreen mode or reporting the user's location through the standard Geolocation API. In those cases, WebKit will emit a #WebKitWebView::permission-request signal with a #WebKitPermissionRequest object attached to it.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val webkitPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun allow()

Allow the action which triggered this request.

Link copied to clipboard
open fun deny()

Deny the action which triggered this request.