Skip to content

Type Alias: NotificationOptions ​

NotificationOptions = object

Defined in: index.ts:308

Properties ​

actions? ​

optional actions?: NotificationAction[]

Defined in: index.ts:309


clickAction? ​

optional clickAction?: NotificationAction

Defined in: index.ts:312

What to do when notification body is pressed


id? ​

optional id?: number

Defined in: index.ts:317

Notification ID


ongoing? ​

optional ongoing?: boolean

Defined in: index.ts:320

Whether to persist the notification


progress? ​

optional progress?: object

Defined in: index.ts:323

Show a progress bar

current ​

current: number

indeterminate? ​

optional indeterminate?: boolean

max ​

max: number


text? ​

optional text?: string

Defined in: index.ts:330

Notification body


title? ​

optional title?: string

Defined in: index.ts:336

Notification title. Deafult: ${appName}: Foreground Service