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.
Properties
Section titled “Properties”alwaysShowNotifications
Section titled “alwaysShowNotifications”Type: unknown
Default Value: inject(CLIENT_SHELL_FEATURE_CONFIG_ALWAYS_SHOW_NOTOFICATION)
shellNotifications$
Section titled “shellNotifications$”Type: Observable<ShellNotificationItem[]>
Default Value: this._notificationsSource.asObservable()
Methods
Section titled “Methods”add(notification: ShellNotification, nativeNotification: unknown): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| notification | ShellNotification | |
| nativeNotification | unknown |
getNotificationById
Section titled “getNotificationById”getNotificationById(id: string): ShellNotificationItem | undefinedArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| id | string |
markAllAsSeen
Section titled “markAllAsSeen”markAllAsSeen(): voidremove
Section titled “remove”remove(id: string): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| id | string |
removeAll
Section titled “removeAll”removeAll(): void