NotificationPermissionRequest

class NotificationPermissionRequest(pointer: <Error class: unknown class><<Error class: unknown class>>) : PermissionRequest

A permission request for displaying web notifications.

WebKitNotificationPermissionRequest represents a request for permission to decide whether WebKit should provide the user with notifications through the Web Notification API.

When a WebKitNotificationPermissionRequest is not handled by the user, it is denied by default.

Since

2.8

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

val webkitNotificationPermissionRequestPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open override 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.