AppNotificationDisplayTextExt extension

Extension methods on notification items

on
  • AppNotification

Methods

getDisplayBody() String
Returns a localized display body that conveys the main message of the notification.
getDisplaySubtitle() String
Returns a localized display subtitle for notifications, consisting of the display name and serial number included.
getDisplayTitle() String
Returns a localized display title for push notifications and tiles in the notification page.
getFullDisplayBody([String br = '\n']) String
Returns a localized longer display body that conveys the main message as well as contents such as serial number and display name of the device