FavoriteStatus
public enum FavoriteStatus : Int, Codable
The set of available favorite status types.
case unfavorite = -1
case disabled = 0
case favorite = 1
-
The show is not favorited.
Declaration
Swift
case notFavorited = -1
-
The show can’t be favorited or unfavorited
Declaration
Swift
case disabled = 0
-
The show is favorited.
Declaration
Swift
case favorited = 1
-
Initializes an instance of
FavoriteStatus
with the given bool value.If
nil
is given, then an instance of.disabled
is initialized.Declaration
Swift
public init(_ bool: Bool?)
Parameters
bool
The boolean value used to initialize an instance of
FavoriteStatus
.