Skip to content

ShellNotificationsService

service

Service managing shell notifications. Every app could propagate shell notifications. They will be published in the notifications section of the shell. Incoming new messahes will also add an indicator to the icon in the shell bar.

Type: unknown

Default Value: inject(CLIENT_SHELL_FEATURE_CONFIG_ALWAYS_SHOW_NOTOFICATION)

Type: Observable<ShellNotificationItem[]>

Default Value: this._notificationsSource.asObservable()

add(notification: ShellNotification, nativeNotification: unknown): void
NameTypeDescription
notificationShellNotification
nativeNotificationunknown
getNotificationById(id: string): ShellNotificationItem | undefined
NameTypeDescription
idstring
markAllAsSeen(): void
remove(id: string): void
NameTypeDescription
idstring
removeAll(): void