One Logo Pool Ball
CloudKit · IOS API REFERENCE

CKRecordZoneSubscription

class · iOS 10.0+ · SDK 27.1

class CKRecordZoneSubscription

Members (6)

init · iOS 10.0+

init

TypeScript
static initCoder(aDecoder: _Foundation_NSCoder): CKRecordZoneSubscription
Swift declaration
init(coder aDecoder: NSCoder)
init · iOS 10.0+ · Deprecated in iOS 10.0

init

TypeScript
static initZoneID(zoneID: CKRecordZone_ID): CKRecordZoneSubscription
Swift declaration
convenience init(zoneID: CKRecordZone.ID)
get · iOS 10.0+

zoneID

TypeScript
get zoneID(): CKRecordZone_ID
Swift declaration
@NSCopying var zoneID: CKRecordZone.ID { get }
get · iOS 10.0+

recordType

TypeScript
get recordType(): (string) | null
Swift declaration
var recordType: CKRecord.RecordType? { get set }

The type of record that the subscription queries.

set · iOS 10.0+

recordType

TypeScript
set recordType(value: (string) | null)
Swift declaration
var recordType: CKRecord.RecordType? { get set }

The type of record that the subscription queries.

init · iOS 10.0+

init

TypeScript
static initZoneIDSubscriptionID(zoneID: CKRecordZone_ID, subscriptionID: string): CKRecordZoneSubscription
Swift declaration
convenience init(zoneID: CKRecordZone.ID, subscriptionID: CKSubscription.ID)

Creates a named subscription for all records in the specified record zone. - Parameters: - zoneID: The ID of the record zone that contains the records you want to monitor. - subscriptionID: The subscription's name. It must be unique in the container and must not be an empty string. The subscription that this method returns is a zone-based subscription that generates push notifications when CloudKit changes any of the specified record zone's records.

Skipped declarations

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

CKRecordZoneSubscription.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All CloudKit types →