Uses of Interface
io.meeds.pwa.model.PwaDirectNotificationBuilder
Packages that use PwaDirectNotificationBuilder
-
Uses of PwaDirectNotificationBuilder in io.meeds.pwa.service
Methods in io.meeds.pwa.service with parameters of type PwaDirectNotificationBuilderModifier and TypeMethodDescriptionvoidPwaNotificationService.fireDirectNotification(String username, String subscriptionId, String notificationKind, PwaDirectNotificationBuilder messageBuilder) Runs on the scheduler thread:ContainerTransactionalbinds the portal container so the subscription storage is readable there.voidPwaNotificationService.scheduleDirectNotification(String username, String notificationKind, long defaultDelaySeconds, PwaDirectNotificationBuilder messageBuilder) Schedules, for each subscribed device of a user, a self-contained push whose content is produced at fire time by the given builder — once per device, with the device's subscription id, so the caller can keep per-device state (e.g.