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

From Xojo Documentation

Method

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

New in 2020r2

Supported for all project types and targets.

Creates a NotificationContent object from the values passed.

Sample Code

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

See Also

MobileNotifications.Send method.