Instance Method

registerForNotifications

Registers to receive push notifications.

Declaration

void registerForNotifications();

Discussion

To subscribe to changes and register for push notifications, see saveSubscription in the CloudKit.Database class.

See Also

Receiving Notifications

addNotificationListener

Adds a function to call when a push notification occurs.

removeNotificationListener

Removes a function to call when a push notification occurs.

unregisterForNotifications

Unregisters to receive push notifications.

isRegisteredForNotifications

Boolean value indicating whether this container is registered to receive push notifications.