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?
  • url

    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 : [AnyHashable : Any]?
  • Get instance of NotificationData from push notification userinfo dictionary.

    Declaration

    Swift

    public static func getNotificationData(remoteNotificationUserInfo : [AnyHashable : Any]) -> NotificationData?

    Parameters

    remoteNotificationUserInfo

    userinfo dictionary recieved from notification

    Return Value

    Instance of NotificationData