Class

RemoteNotification


Description

A notification that comes from outside the application.

Properties

Name

Type

Read-Only

Shared

Badge

Integer

Body

String

DeliveryDate

DateTime

Handle

Ptr

Identifier

String

Repeats

Boolean

Subtitle

String

Thread

String

Title

String

UserInfo

Dictionary

Property descriptions


RemoteNotification.Badge

Badge As Integer

The number that appears on the app icon when the notification is presented.

This property is read-only.


RemoteNotification.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.


RemoteNotification.DeliveryDate

DeliveryDate As DateTime

When the notification was delivered.

This property is read-only.


RemoteNotification.Handle

Handle As Ptr

A pointer to the notification for use with declares.

This property is read-only.


RemoteNotification.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.


RemoteNotification.Repeats

Repeats As Boolean

If True, the notification will repeat.

This property is read-only.

The shortest interval allowed is 60 seconds.


RemoteNotification.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.


RemoteNotification.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.


RemoteNotification.Title

Title As String

The title of the notification message.

This property is read-only.


RemoteNotification.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 has not additional methods, properties, etc. It exists purely to identify the notification as being a remote notification.

Compatibility

iOS projects on the iOS operating system.

See also

Notification parent class; Notification class.