RSDDeviceType
public struct RSDDeviceType : RawRepresentable, Codable
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 private(set) var 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 = "computer" -
A phone is a handheld device with a touch screen. (iPhone, Android phone)
Declaration
Swift
public static let phone: RSDDeviceType = "phone" -
A tablet is a larger touch screen device. (iPad, Android tablet)
Declaration
Swift
public static let tablet: RSDDeviceType = "tablet" -
A tv is a device that has a larger screen with a remote control. (Apple TV)
Declaration
Swift
public static let tv: RSDDeviceType = "tv" -
A watch is a device that is worn on a person’s wrist. (Apple Watch)
Declaration
Swift
public static let watch: RSDDeviceType = "watch" -
List of all the standard types.
Declaration
Swift
public static func allStandardTypes() -> [RSDDeviceType]
-
Declaration
Swift
public static func ==(lhs: RSDDeviceType, rhs: RSDDeviceType) -> Bool -
Undocumented
Declaration
Swift
public static func ==(lhs: String, rhs: RSDDeviceType) -> Bool -
Undocumented
Declaration
Swift
public static func ==(lhs: RSDDeviceType, rhs: String) -> Bool
-
Declaration
Swift
public var hashValue : Int
-
Declaration
Swift
public init(stringLiteral value: String)
-
Declaration
Swift
public init?(stringValue: String) -
Declaration
Swift
public var intValue: Int? -
Declaration
Swift
public init?(intValue: Int)
View on GitHub
RSDDeviceType Structure Reference