notificationType
The type of event that generates the notification.
Declaration
var notificationType: CKNotification.NotificationType { get }Discussion
Different notification types correspond to different subclasses of CKNotification, so you can use the value in this property to determine how to handle the notification data.