Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MessageClient
    • NotificationManager

Index

Constructors

Properties

contextKeyService: ContextKeyService
deferredResults: Map<string, Deferred<undefined | string>> = ...
fireUpdatedEvent: DebouncedFunc<(() => void)> = ...
hideTimeouts: Map<string, number> = ...
notificationCenterVisibleKey: ContextKey<boolean>
notificationToastsVisibleKey: ContextKey<boolean>
notifications: Map<string, Notification> = ...
onUpdated: Event<NotificationUpdateEvent> = ...
onUpdatedEmitter: Emitter<NotificationUpdateEvent> = ...
openerService: OpenerService
toasts: Map<string, Notification> = ...
visibilityState: Visibility = 'hidden'

Accessors

  • get centerVisible(): boolean
  • get toastsVisible(): boolean

Methods

  • accept(notification: string | Notification, action: undefined | string): void
  • clearAll(): void
  • doInit(): Promise<void>
  • getMessageId(m: Message): string
  • getTimeout(plainMessage: Message): number
  • hide(): void
  • hideCenter(): void
  • hideToast(messageId: string): void
  • init(): void
  • isExpandable(message: string, source: undefined | string, actions: string[]): boolean
  • openLink(link: string): Promise<void>
  • reportProgress(messageId: string, update: ProgressUpdate, originalMessage: ProgressMessage, cancellationToken: CancellationToken): Promise<void>
  • showCenter(): void
  • showMessage(plainMessage: Message): Promise<undefined | string>
  • showProgress(messageId: string, plainMessage: ProgressMessage, cancellationToken: CancellationToken): Promise<undefined | string>
  • startHideTimeout(messageId: string, timeout: number): void
  • toPlainProgress(update: ProgressUpdate): undefined | number
  • toggleCenter(): void
  • toggleExpansion(notificationId: string): void
  • updateContextKeys(): void