GestureConfiguration

public struct GestureConfiguration

The gesture configuration indicates which gestures are enabled and which are disabled. The wearable device will send gesture configuration values as its configuration changes. Client applications can configure the wearable device by changing the gesture configuration.

At startup all gesture detection is inactive. Clients will need to enable the desired gestures. Upon BLE disconnection all gestures enabled by a client are automatically disabled.

  • Enables all gestures.

    Declaration

    Swift

    public mutating func enableAll()
  • Disables all gestures.

    Declaration

    Swift

    public mutating func disableAll()
  • Returns true if the specified gesture is enabled. Returns false otherwise.

    Declaration

    Swift

    public func isEnabled(gesture: GestureType) -> Bool
  • Enables or disables the specified gesture.

    Declaration

    Swift

    public mutating func set(gesture: GestureType, enabled: Bool)
  • Declaration

    Swift

    public var debugDescription: String { get }
  • Declaration

    Swift

    public static func == (lhs: GestureConfiguration, rhs: GestureConfiguration) -> Bool