RSDDeviceType
public struct RSDDeviceType : RSDFactoryTypeRepresentable, Codable, Hashable
RSDDeviceType
describes various devices. It can be used by a task to vend different steps or async
actions based upon what is supported by a given device type.
Note
This is not currently used and may be deprecated.-
Declaration
Swift
public let rawValue: String
-
Declaration
Swift
public init(rawValue: String)
-
A computer will have a keyboard and a mouse or touchpad. (Mac)
Declaration
Swift
public static let computer: RSDDeviceType
-
A phone is a handheld device with a touch screen. (iPhone, Android phone)
Declaration
Swift
public static let phone: RSDDeviceType
-
A tablet is a larger touch screen device. (iPad, Android tablet)
Declaration
Swift
public static let tablet: RSDDeviceType
-
A tv is a device that has a larger screen with a remote control. (Apple TV)
Declaration
Swift
public static let tv: RSDDeviceType
-
A watch is a device that is worn on a person’s wrist. (Apple Watch)
Declaration
Swift
public static let watch: RSDDeviceType
-
Declaration
Swift
public init(stringLiteral value: String)
-
Declaration
Swift
public init?(stringValue: String)
-
Declaration
Swift
public var intValue: Int? { get }
-
Declaration
Swift
public init?(intValue: Int)