Skip to main content
Version: v3

NotificationConfig

Configuration object for the Notification Center

Properties

id?

optional id?: string;

Unique ID for the notification


preference?

optional preference?: NotificationPreference;

User Preference tied to the notification (the preference will be updated when the notification is marked read)


primaryAction?

optional primaryAction?: NotificationAction;

Primary action to be shown in the notification


progress?

optional progress?: number;

Progress (0-100) for notifications of type Task


secondaryAction?

optional secondaryAction?: NotificationAction;

Secondary to be shown in the notification