Jump to top

Notification

interface

Properties

android

</>

Additional Android specific properties set on the notification.

android: undefined | { channelId: undefined | string, clickAction: undefined | string, color: undefined | string, count: undefined | number, imageUrl: undefined | string, link: undefined | string, priority: PRIORITY_MIN | PRIORITY_LOW | PRIORITY_DEFAULT | PRIORITY_HIGH | PRIORITY_MAX, smallIcon: undefined | string, sound: undefined | string, ticker: undefined | string, visibility: VISIBILITY_SECRET | VISIBILITY_PRIVATE | VISIBILITY_PUBLIC };

body

</>

The notification body content.

body: undefined | string;

bodyLocArgs

</>

Any arguments that should be formatted into the resource specified by bodyLocKey.

bodyLocArgs: string[];

bodyLocKey

</>

The native localization key for the notification body content.

bodyLocKey: undefined | string;

ios

</>
ios: undefined | { badge: undefined | string, sound: string | NotificationIOSCriticalSound, subtitle: undefined | string, subtitleLocArgs: string[], subtitleLocKey: undefined | string };

title

</>

The notification title.

title: undefined | string;

titleLocArgs

</>

Any arguments that should be formatted into the resource specified by titleLocKey.

titleLocArgs: string[];

titleLocKey

</>

The native localization key for the notification title.

titleLocKey: undefined | string;