WatchStatus

public enum WatchStatus : Int, Codable

The set of available watch status types.

case notWatched = -1
case disabled = 0
case watched = 1

Cases

Properties

  • The string value of a watch status type.

    Declaration

    Swift

    public var stringValue: String { get }

Functions

  • 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.