Properties
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
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.