Uses of Class
com.vaadin.flow.component.webnotification.WebNotificationOptions.Builder
Packages that use WebNotificationOptions.Builder
Package
Description
Server-side access to the browser's Notifications API, which shows native
operating system notifications while the application is open in a browser tab
— for example to tell the user that a background job finished while they are
looking at another tab or application.
-
Uses of WebNotificationOptions.Builder in com.vaadin.flow.component.webnotification
Methods in com.vaadin.flow.component.webnotification that return WebNotificationOptions.BuilderModifier and TypeMethodDescriptionSets the text shown below the title.WebNotificationOptions.builder()Creates a builder with no settings set.Sets the URL of an image shown with the notification.WebNotificationOptions.Builder.renotify(boolean renotify) Sets whether replacing a notification with the same tag alerts the user again with sound or vibration.WebNotificationOptions.Builder.requireInteraction(boolean requireInteraction) Sets whether the notification stays visible until the user clicks or dismisses it, instead of closing automatically after a while.WebNotificationOptions.Builder.silent(boolean silent) Sets whether the notification is shown without sound or vibration.Sets the group the notification belongs to.