OpenNotificationConfig interface
Properties
buttons | Buttons show at bottom of notification |
duration | The duration of the notification |
event |
|
image |
an optional avatar displayed at the icon location not enabled yet |
message | The localized message of the notification |
notification |
an optional field, which is the id returned in OpenNotificationResult if present, shell upserts the notification based on id otherwise, shell insert the notification with a guid |
notification |
used to determine the displayed icon |
title | The localized title of the notification |
Property Details
buttons
Buttons show at bottom of notification
buttons?: NotificationButton[]
Property Value
duration
The duration of the notification
duration?: NotificationToastDuration
Property Value
eventId
Warning
This API is now deprecated.
it has the same effect as notificationId, with a lower priority if both notificationId and eventId present, eventId will be ignored if only eventId present, it will be honored as notificationId plan to be removed
eventId?: string
Property Value
string
imageUrl
an optional avatar displayed at the icon location not enabled yet
imageUrl?: string
Property Value
string
message
The localized message of the notification
message?: string
Property Value
string
notificationId
an optional field, which is the id returned in OpenNotificationResult
if present, shell upserts the notification based on id otherwise, shell insert the notification with a guid
notificationId?: string
Property Value
string
notificationType
used to determine the displayed icon
notificationType?: NotificationType
Property Value
title
The localized title of the notification
title: string
Property Value
string