GestureData

public struct GestureData

Represents a gesture event received from the remote wearable device.

  • The gesture that was detected.

    Declaration

    Swift

    public var gesture: GestureType
  • The wearable device’s timestamp indicating when this gesture was detected.

    Declaration

    Swift

    public var timestamp: SensorTimestamp
  • The gesture payload. If the gesture has no payload, this value will be empty.

    Declaration

    Swift

    public var payload: Data
  • Creates a new GestureData object with the specified values.

    Declaration

    Swift

    public init(gesture: GestureType, timestamp: SensorTimestamp, payload: Data)
  • Declaration

    Swift

    public var debugDescription: String { get }