NotificationConstants
public enum NotificationConstants
Constants used in NotificationCenter
notifications
-
Prefix of the notification pathname issued when database document changes occur. Full notification name will be
DocumentChangedNotification/
This notification is only issued when the document id has been subscribed to via the Notify service, and the document has changed.Declaration
Swift
public static let documentChangedNotificationPrefix = "DocumentChangedNotification"
-
Suffix of the notfication name issued when replication is has reached a complted (idle) state. Prefix of the notification name will be the replication type, either
push
orpull
For example: pullReplicationCompleteNotification will be issue when pull replication (data transmitted from server to client) has completed.Declaration
Swift
public static let replicationCompleteNotificationSuffix = "ReplicationCompleteNotification"
-
Notification.Name.pmServerEndpointChanged
notification userInfo dictionary will contain this key. The value is the newly configured server endpoint URL.Declaration
Swift
public static let serverEndpointNotificationUserInfoKey = "ServerEndpoint"