Platforms to show: All Mac Windows Linux Cross-Platform

Back to UNNotificationContentMBS class.

UNNotificationContentMBS.attachment(Index as integer) as UNNotificationAttachmentMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Queries attachment with given index.

Index from 0 to attachmentCount-1.

UNNotificationContentMBS.attachments as UNNotificationAttachmentMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An array of attachments to display with the notification.

Use this property to retrieve the images, movies, and audio files associated with your notification’s content. A notification content app extension might use these values to add the associated content to its view controller.

UNNotificationContentMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

See also:

UNNotificationContentMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 21.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Constructor for creating an instanced based on an existing handle.

Useful if you get a UNNotificationContent reference from a declare.
The object is retained.

See also:

UNNotificationContentMBS.copy as UNNotificationContentMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the object.

UNNotificationContentMBS.mutableCopy as UNMutableNotificationContentMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method User Notifications MBS MacFrameworks Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a mutable copy of the object.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...