Module notifications

Index

Variables

Interfaces

Functions

Variables

onButtonClicked: OnButtonClicked

onClicked: OnClicked

onClosed: OnClosed

onPermissionLevelChanged: OnPermissionLevelChanged

onShowSettings: OnShowSettings

Functions

clear(notificationId: string, callback: (wasCleared: boolean) => void)

Parameters

  • notificationId: string
  • callback: (wasCleared: boolean) => void

create(notificationId: string, options: NotificationOptions, callback: (notificationId: string) => void)

Parameters

  • notificationId: string
  • options: NotificationOptions
  • callback: (notificationId: string) => void

getAll(callback: (notifications: any) => void)

Parameters

  • callback: (notifications: any) => void

getPermissionLevel(callback: (level: string) => void)

Parameters

  • callback: (level: string) => void

update(notificationId: string, options: NotificationOptions, callback: (wasUpdated: boolean) => void)

Parameters