DittoPeerOS
public enum DittoPeerOS
extension DittoPeerOS: Hashable
extension DittoPeerOS: Equatable
extension DittoPeerOS: Codable
Represents the operating system of a peer.
Note
When running on a Mac in the Mac Catalyst environment, the OS is classified asiOS.
-
Undocumented
Declaration
Swift
case generic -
Undocumented
Declaration
Swift
case iOS -
Undocumented
Declaration
Swift
case tvOS -
Undocumented
Declaration
Swift
case android -
Undocumented
Declaration
Swift
case linux -
Undocumented
Declaration
Swift
case windows -
Undocumented
Declaration
Swift
case macOS -
Undocumented
Declaration
Swift
case unknown(os: String) -
Creates a
DittoPeerOSfrom a string representation.Declaration
Swift
public init(from string: String) -
Returns the string representation of the OS.
Declaration
Swift
public var stringValue: String { get }
-
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws