SDK Reference v2.0.0 / NotificationSendStatusCode
NotificationSendStatusCode
struct NotificationSendStatusCode : RawRepresentable, Equatable, Codable
Describes whether a notification was sent to a participant.
RawValue
associatedtype RawValue
succeeded
static let succeeded: MyDataHelpsKit.NotificationSendStatusCode
The notification was sent. This does not guarantee it was received nor read.
unsubscribed
static let unsubscribed: MyDataHelpsKit.NotificationSendStatusCode
The notification could not be sent because the recipient unsubscribed their contact info from notifications.
missingContactInfo
static let missingContactInfo: MyDataHelpsKit.NotificationSendStatusCode
The notification could not be sent because contact info was not available.
noRegisteredMobileDevice
static let noRegisteredMobileDevice: MyDataHelpsKit.NotificationSendStatusCode
The notification could not be sent because a verified mobile device was not available.
noAssociatedUser
static let noAssociatedUser: MyDataHelpsKit.NotificationSendStatusCode
The notification could not be sent because the participant has not registered an account on MyDataHelps.
serviceError
static let serviceError: MyDataHelpsKit.NotificationSendStatusCode
The notification was not sent due to an error.
rawValue
let rawValue: String
The raw value for the status code as stored in MyDataHelps.
init(rawValue:)
init(rawValue: String)
Initializes a NotificationSendStatusCode
with an arbitrary value. Consider using static members such as NotificationSendStatusCode.succeeded
instead for known values.
Parameters
rawValue
The raw value for the status code as stored in MyDataHelps.