GestureType
@frozen
public enum GestureType : UInt8, Codable
Identifies a gesture recognized by a wearable device.
-
A single-tap gesture.
Declaration
Swift
case singleTap = 0x80
-
A double-tap gesture.
Declaration
Swift
case doubleTap = 0x81
-
Indicates a head nod (up and down).
Declaration
Swift
case headNod = 0x82
-
Indicates a head shake (left to right).
Declaration
Swift
case headShake = 0x83
-
Indicates a touch and hold gesture.
Declaration
Swift
case touchAndHold = 0x84
-
Indicates a device-agnostic input gesture.
Declaration
Swift
case input = 0xC0
-
Indicates a device-agnostic affirmative gesture.
Declaration
Swift
case affirmative = 0xC1
-
Indicates a device-agnostic negative gesture.
Declaration
Swift
case negative = 0xC2
-
The set of gestures supported by the SDK. See
WearableDeviceInformation.availableGestures
andGestureInformation.availableGestures
for the set of gestures supported by a given wearable device.Declaration
Swift
public static var all: [GestureType]
-
Declaration
Swift
public var description: String { get }