Skip to main content
Version: v3

NotificationHandler

Interface for notification handler

Methods

onReadUpdated()

onReadUpdated(notification, read): void;

Called when a notification with this handler has its read status is updated (read or unread)

Parameters

notification

Notification

Notification that was marked read or unread

read

boolean

Indicates whether the notification was updated to be read or unread

Returns

void