UserNotificationType
public enum UserNotificationType : String, Codable
The set of available user notification types.
session
: the notification has asession
type and thus has the sessions style.follower
: the notification has afollower
type and thus has the follower style.feedMessageReply
: the notification has afeedMessageReply
type and thus has the message style.feedMessageReShare
: the notification has afeedMessageReShare
type and thus has the message style.libraryImportFinished
: the notification has alibraryImportFinished
type and thus thas the import style.subscriptionStatus
: the notification has asubscriptionStatus
type and thus the subscription style.other
: the notification has no specific type and thus has the default style.Tag: UserNotificationType
-
Indicates that the notification has a
session
type and thus has the sessions style.Declaration
Swift
case session = "NewSession"
-
Indicates that the notification has a
follower
type and thus has the follower style.Declaration
Swift
case follower = "NewFollower"
-
Indicates that the notification has a
feedMessageReply
type and thus has the message style.Declaration
Swift
case feedMessageReply = "NewFeedMessageReply"
-
Indicates that the notification has a
feedMessageReShare
type and thus has the message style.Declaration
Swift
case feedMessageReShare = "NewFeedMessageReShare"
-
Indicates that the notification has a
libraryImportFinished
type and thus thas the import style.Declaration
Swift
case libraryImportFinished = "LibraryImportFinished"
-
Indicates that the notification has a
subscriptionStatus
type and thus the subscription style.Declaration
Swift
case subscriptionStatus = "SubscriptionStatus"
-
Indicates that the notification has no specific type and thus has the default style.
Declaration
Swift
case other