One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKNotification

class · iOS 8.0+ · SDK 27.1

class CKNotification

Members (21)

init · iOS 8.0+

init

TypeScript
static init(notificationDictionary: NativeMap<unknown, unknown>): (CKNotification) | null
Swift declaration
convenience init?(fromRemoteNotificationDictionary notificationDictionary: [AnyHashable : Any])
get · iOS 8.0+ · Deprecated in iOS 17.0

alertActionLocalizationKey

TypeScript
get alertActionLocalizationKey(): (string) | null
Swift declaration
var alertActionLocalizationKey: String? { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

alertBody

TypeScript
get alertBody(): (string) | null
Swift declaration
var alertBody: String? { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

alertLaunchImage

TypeScript
get alertLaunchImage(): (string) | null
Swift declaration
var alertLaunchImage: String? { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

alertLocalizationArgs

TypeScript
get alertLocalizationArgs(): (Array<string>) | null
Swift declaration
var alertLocalizationArgs: [String]? { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

alertLocalizationKey

TypeScript
get alertLocalizationKey(): (string) | null
Swift declaration
var alertLocalizationKey: String? { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

badge

TypeScript
get badge(): (_Foundation_NSNumber) | null
Swift declaration
@NSCopying var badge: NSNumber? { get }
get · iOS 9.0+ · Deprecated in iOS 17.0

category

TypeScript
get category(): (string) | null
Swift declaration
var category: String? { get }
get · iOS 8.0+

containerIdentifier

TypeScript
get containerIdentifier(): (string) | null
Swift declaration
var containerIdentifier: String? { get }
get · iOS 8.0+

isPruned

TypeScript
get isPruned(): boolean
Swift declaration
var isPruned: Bool { get }
get · iOS 8.0+

notificationID

TypeScript
get notificationID(): (CKNotification_ID) | null
Swift declaration
@NSCopying var notificationID: CKNotification.ID? { get }
get · iOS 8.0+

notificationType

TypeScript
get notificationType(): CKNotification_NotificationType
Swift declaration
var notificationType: CKNotification.NotificationType { get }
get · iOS 8.0+ · Deprecated in iOS 17.0

soundName

TypeScript
get soundName(): (string) | null
Swift declaration
var soundName: String? { get }
get · iOS 13.0+

subscriptionOwnerUserRecordID

TypeScript
get subscriptionOwnerUserRecordID(): (CKRecord_ID) | null
Swift declaration
@NSCopying var subscriptionOwnerUserRecordID: CKRecord.ID? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

subtitle

TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

subtitleLocalizationArgs

TypeScript
get subtitleLocalizationArgs(): (Array<string>) | null
Swift declaration
var subtitleLocalizationArgs: [String]? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

subtitleLocalizationKey

TypeScript
get subtitleLocalizationKey(): (string) | null
Swift declaration
var subtitleLocalizationKey: String? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

title

TypeScript
get title(): (string) | null
Swift declaration
var title: String? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

titleLocalizationArgs

TypeScript
get titleLocalizationArgs(): (Array<string>) | null
Swift declaration
var titleLocalizationArgs: [String]? { get }
get · iOS 11.0+ · Deprecated in iOS 17.0

titleLocalizationKey

TypeScript
get titleLocalizationKey(): (string) | null
Swift declaration
var titleLocalizationKey: String? { get }
get · iOS 9.0+

subscriptionID

TypeScript
get subscriptionID(): (string) | null
Swift declaration
var subscriptionID: CKSubscription.ID? { get }

The ID of the subscription that triggers the notification.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CKNotification.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CloudKit types →