-
A server-wide announcement has just been added.
Declaration
Swift
case announcement -
Only for ‘open’ seamails. The owner of the chata has added this user.
Declaration
Swift
case addedToSeamail -
The creator of the LFG has added this user.
Declaration
Swift
case addedToLFG -
The creator of the event has added this user.
Declaration
Swift
case addedToPrivateEvent -
A Private Event the user has joined has been canceled.
Declaration
Swift
case privateEventCanceled -
An LFG the user has joined has been canceled.
Declaration
Swift
case lfgCanceled -
A participant in a Chat the user is a member of has posted a new message.
Declaration
Swift
case fezUnreadMsg -
A participant in a Seamail thread the user is a member of has posted a new message.
Declaration
Swift
case seamailUnreadMsg -
An invitee to a Private Event has posted a new chat message in the event’s chat.
Declaration
Swift
case privateEventUnreadMsg -
An event the user is following is about to start.
Declaration
Swift
case followedEventStarting -
An LFG the user has joined is about to start.
Declaration
Swift
case joinedLFGStarting -
A Personal Event the user has created or was added to is about to start.
Declaration
Swift
case personalEventStarting -
A user has posted a Twarrt that contains a word this user has set as an alertword.
Declaration
Swift
case alertwordTwarrt -
A user has posted a Forum Post that contains a word this user has set as an alertword.
Declaration
Swift
case alertwordPost -
A user has posted a Twarrt that @mentions this user.
Declaration
Swift
case twarrtMention -
A user has posted a Forum Post that @mentions this user.
Declaration
Swift
case forumMention -
Someone is trying to call this user via KrakenTalk.‘
Declaration
Swift
case incomingPhoneCall -
The callee answered the call, possibly on another device.
Declaration
Swift
case phoneCallAnswered -
Caller hung up while phone was rining, or other party ended the call in progress, or callee declined
Declaration
Swift
case phoneCallEnded -
A Micro Karaoke song the user contributed to is ready for viewing. .
Declaration
Swift
case microKaraokeSongReady -
A new or edited forum post that now @mentions @moderator.
Declaration
Swift
case moderatorForumMention -
A new or edited forum post that now @mentions @twitarrteam.
Declaration
Swift
case twitarrTeamForumMention -
Maps the server-internal
NotificationTypeto the socket-facingNotificationTypeDatacase clients see.Declaration
Swift
init(_ type: NotificationType) -
A stable string key for this case, used only for database storage (see
Notification.type).This is NOT the wire format: over JSON this enum encodes as
{"caseName": {}}via Swift’s synthesized Codable for an associated-value-less enum (seeSocketNotificationPayloadTests), and existing clients depend on that shape, soNotificationTypeDatamust not gain aRawValue.Declaration
Swift
var databaseKey: String { get } -
Reconstructs a case from its
databaseKey. Returns nil if the string doesn’t match any known case (e.g. the case was renamed after the row was written).Declaration
Swift
init?(databaseKey: String)
View on GitHub