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
The key that identifies the text to use for the action button in the alert panel.

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
The text of the alert message.

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 filename of the launch image displayed when your app is launched from the push notification alert.

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
The key that identifies the localized string to use for the alert message.

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 current badge value.

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
Name of the action group corresponding to this notification.

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
The ID of the container whose content triggered the notification.

(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
The internal object reference.

(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
A Boolean value indicating whether some push notification content was removed prior to delivery.

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
The ID of the notification.

(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
The type of event that generated the notification.

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
The name of the sound file to play when a notification arrives.

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
The identifier of the subscription that caused this notification to fire.

(Read only property)

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


The biggest plugin in space...