Class
Notification
Description
Parent class of specific Notification types.
Properties
Name |
Type |
Read-Only |
Shared |
---|---|---|---|
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
|||
✓ |
Property descriptions
Notification.Badge
Badge As Integer
The number that appears on the app icon when the Notification is presented.
This property is read-only.
Notification.Body
Body As String
The details of the Notification message.
This property is read-only.
This information may not be shown if the device is locked and the user has hidden message details.
Notification.DeliveryDate
DeliveryDate As DateTime
When the Notification was delivered.
This property is read-only.
Notification.Handle
Handle As Ptr
A pointer to the Notification for use with declares.
This property is read-only.
Notification.Identifier
Identifier As String
The UUID that uniquely identifies the Notification.
This property is read-only.
The UUID is created when the Notification is created.
Notification.Repeats
Repeats As Boolean
If True, the Notification will repeat.
This property is read-only.
The shortest interval allowed is 60 seconds.
Notification.Subtitle
Subtitle As String
A secondary line of text that appears below the title of the Notification message.
This property is read-only.
This information may not be shown if the device is locked and the user has hidden message details.
Notification.Thread
Thread As String
Identifies the thread to which the Notification belongs.
This property is read-only.
Threads are a set of characters you create which allow notifications to be grouped together in the iOS notifications user interface.
Notification.Title
Title As String
The title of the Notification message.
This property is read-only.
Notification.UserInfo
UserInfo As Dictionary
Information sent along with the Notification.
This property is read-only.
The underlying data structure is JSON format.
Notes
This class is not used directly. Its subclasses (CalendarNotification, LocationNotification, TimeIntervalNotification, and RemoteNotification are all used only with events when a Notification is received.
Compatibility
iOS projects on the iOS operating system.
See also
Object parent class; NotificationContent, CalendarNotification, LocationNotification, TimeIntervalNotification, and RemoteNotification classes.