SDK Reference v2.0.0 / NotificationContent

NotificationContent

enum NotificationContent

The content of a notification, varying based on the type of the notification. The actual content is in the enum associated value, and may be nil.


sms(_:)
case sms(SMSContent?)

The content of an SMS notification.

push(_:)
case push(PushContent?)

The content of a push notification.

email(_:)
case email(EmailContent?)

The content of an email notification.

type
var type: NotificationType { get }

The notification type.

SMSContent
struct MyDataHelpsKit.NotificationContent.SMSContent : Decodable

The content of an SMS notification.

PushContent
struct MyDataHelpsKit.NotificationContent.PushContent : Decodable

The content of a push notification.

EmailContent
struct MyDataHelpsKit.NotificationContent.EmailContent : Decodable

The content of an email notification.