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 |
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 |
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 |
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 |
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 |
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 |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.