Skip to content

Type Alias: NotificationAction ​

NotificationAction = object

Defined in: index.ts:252

Properties ​

id ​

id: "stop" | "open"

Defined in: index.ts:260

Determines what to do when the action button is clicked

Accepted values:

  • stop: stop binary and the foreground service along with the persistent notification
  • open: open the app or the specified uri

title ​

title: string

Defined in: index.ts:263

Text to be displayed on the action button


uri? ​

optional uri?: string

Defined in: index.ts:266

URI to open when id is "open"