NotificationContent

From Xojo Documentation

Class (inherits from Object)


New in 2020r2

Used when creating notifications to send.

Properties
Badge Handle Thread
Body Relevance Title
FocusPriority Subtitle UserData
Constructors

Constructor(title as String, subtitle As String = "", body As String = "", badge As Integer = 0, data As Dictionary = Nil, thread As String = "", category As String = "")


Enumerations
FocusPriorities

Notes

This class is to simplify creating notifications, specifically with its constructor:

NotificationCenter.Send(New NotificationContent("Sale Starts Now!"))

Compatibility

iOS project types on iOS and iPadOS operating systems.

See Also

CalendarNotification, LocationNotification, TimeIntervalNotification, and RemoteNotification classes.