WatchStatus
public enum WatchStatus : Int, Codable
The set of available watch status types.
case notWatched = -1
case disabled = 0
case watched = 1
-
The episode is not watched.
Declaration
Swift
case notWatched = -1
-
The episode can’t be watched or unwatched.
Declaration
Swift
case disabled = 0
-
The episode is watched.
Declaration
Swift
case watched = 1
-
The string value of a watch status type.
Declaration
Swift
public var stringValue: String { get }
-
Initializes an instance of
WatchStatus
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
WatchStatus
.