Properties
Link copied to clipboard
The maxActions read-only static property of the Notification interface returns the maximum number of actions that can be displayed in a notification.
Link copied to clipboard
The permission read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
Functions
Link copied to clipboard
inline suspend fun Notification.Companion.requestPermission(noinline deprecatedCallback: NotificationPermissionCallback): NotificationPermission
The requestPermission() static method of the Notification interface requests permission from the user for the current origin to display notifications.
Link copied to clipboard
external fun requestPermissionAsync(deprecatedCallback: NotificationPermissionCallback = definedExternally): Promise<NotificationPermission>
The requestPermission() static method of the Notification interface requests permission from the user for the current origin to display notifications.