Platforms to show: All Mac Windows Linux Cross-Platform
Back to CKNotificationMBS class.
CKNotificationMBS.alertActionLocalizationKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When this property is nil, the alert panel triggered by the push notification contains only an OK button to dismiss the alert. When this property is not nil, the alert panel contains one button to dismiss the alert and a second button to open your app. This property identifies the text to use for the button to open your app. Specifically, it contains the name of a key to look up in the app’s Localizable.strings file, the value of which is used for the button title.
(Read only property)
CKNotificationMBS.alertBody as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the nonlocalized version of the message string displayed by the alert.
(Read only property)
CKNotificationMBS.alertLaunchImage as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The string in this property is used to locate an image file in the app bundle.
(Read only property)
CKNotificationMBS.alertLocalizationKey as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When delivered to your app, the push notification gets the text for the alert by looking up the specified key in your app’s Localizable.strings file. When this property is set, the value in the notificationFromRemoteNotificationDictionary property is ignored.
(Read only property)
CKNotificationMBS.badge as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this property is the integer value displayed in the app’s badge at the time the push notification was sent.
(Read only property)
CKNotificationMBS.category as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Categories allow you to present custom actions to the user on your push notifications. For more information, read UIMutableUserNotificationCategory.
(Read only property)
CKNotificationMBS.containerIdentifier as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CKNotificationMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
CKNotificationMBS.isPruned as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
see
https://developer.apple.com/reference/cloudkit/cknotification/1428088-ispruned
(Read only property)
CKNotificationMBS.notificationID as CKNotificationIDMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
CKNotificationMBS.notificationType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Different notification types correspond to different subclasses of CKNotificationMBS, so you can use the value in this property to determine how to handle the notification data.
(Read only property)
CKNotificationMBS.soundName as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains the string used to locate a sound file in your app’s bundle. That sound file is played as an alert when a push notification arrives on the user’s device. If the specified sound file does not exist, or if you specify the string default for this property, the system plays the default alert sound.
(Read only property)
CKNotificationMBS.subscriptionID as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.