PermissionRequest

class PermissionRequest(*args, **kwargs)

Implementations: ClipboardPermissionRequest, DeviceInfoPermissionRequest, GeolocationPermissionRequest, MediaKeySystemPermissionRequest, NotificationPermissionRequest, PointerLockPermissionRequest, UserMediaPermissionRequest, WebsiteDataAccessPermissionRequest

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 WebView::permission-request signal with a PermissionRequest object attached to it.

Methods

class PermissionRequest
allow() None

Allow the action which triggered this request.

deny() None

Deny the action which triggered this request.

Virtual Methods

class PermissionRequest
do_allow() None

Allow the action which triggered this request.

do_deny() None

Deny the action which triggered this request.