NotificationData
Undocumented
-
CampaignId recieved from the notification
Declaration
Swift
public private(set) var campaignId : String? -
Type of Content
Declaration
Swift
public private(set) var type : String? -
ContentId of the content
Declaration
Swift
public private(set) var url : String? -
Push Notification title recieved from userInfo dictionary
Declaration
Swift
public private(set) var title : String? -
Push Notification subTitle recieved from userInfo dictionary
Declaration
Swift
public private(set) var subTitle : String? -
Push Notification message recieved from userInfo dictionary
Declaration
Swift
public private(set) var message : String? -
Bool value representing whether the campaign recieved is a preview campaign
Declaration
Swift
public private(set) var isCampaignPreview : Bool = false -
Campaign Id of preview campaign.
Declaration
Swift
public private(set) var campaignPreviewId : String? -
Undocumented
-
Full notification dictionary.
Declaration
Swift
public private(set) var notificationUserInfo : [NSObject:AnyObject]? -
Get instance of NotificationData from push notification userinfo dictionary.
Declaration
Swift
public static func getNotificationData(remoteNotificationUserInfo : [NSObject:AnyObject]) -> NotificationData?Parameters
remoteNotificationUserInfouserinfo dictionary recieved from notification
Return Value
Instance of NotificationData
NotificationData Class Reference