SwiftarrFeature
public enum SwiftarrFeature : String, Content, CaseIterable
Functional areas of the Swiftarr API. Used in the SettingsAppFeaturePair
struct.
Clients: Be sure to anticipate server values not listed here.
-
Declaration
Swift
case tweets
-
Declaration
Swift
case forums
-
Declaration
Swift
case seamail
-
Declaration
Swift
case schedule
-
Declaration
Swift
case friendlyfez
-
Declaration
Swift
case karaoke
-
Declaration
Swift
case microkaraoke
-
Declaration
Swift
case gameslist
-
Declaration
Swift
case images
-
Declaration
Swift
case users
-
Declaration
Swift
case phone
-
Declaration
Swift
case directphone
-
Declaration
Swift
case photostream
-
Declaration
Swift
case performers
-
Declaration
Swift
case personalevents
-
Declaration
Swift
case all
-
For clients use. Clients need to be prepared for additional values to be added serverside. Those new values get decoded as ‘unknown’.
Declaration
Swift
case unknown
-
When creating ourselves from a decoder, return .unknown for cases we’re not prepared to handle.
Declaration
Swift
public init(from decoder: Decoder) throws