IDOGestureControlModel
Description
Gesture control model, used for gesture configuration of devices such as rings.
Attributes
| Attributes | Type | Description |
|---|---|---|
| gestureControlOnOff | Int | Master switch: 1 for On, 0 for Off |
| needTipPowerConsumption | Int | Whether to tip the user about power consumption after enabling: 0 no / 1 yes; valid when getting config or supported items |
| gestureFunctionItems | [IDOGestureFunctionItemModel]? | Function list |
| errCode | Int | Error code |
IDOGestureFunctionItemModel
Attributes
| Attributes | Type | Description |
|---|---|---|
| functionSwitch | Int | Function switch: 1 for On, 0 for Off |
| functionType | Int | Function type; see Enum values at the end of this page |
| gestureSubFunctionItems | [IDOGestureSubFunctionItemModel]? | Sub-function list |
IDOGestureSubFunctionItemModel
Attributes
| Attributes | Type | Description |
|---|---|---|
| subFunctionType | Int | Sub-function type; see Enum values at the end of this page |
| gestureTypeItems | [IDOGestureTypeItemModel]? | Gesture type list |
IDOGestureTypeItemModel
Attributes
| Attributes | Type | Description |
|---|---|---|
| gestureType | Int | Gesture type; see Enum values at the end of this page |
Enum values (functionType / subFunctionType / gestureType)
| functionType | Function | subFunctionType | Available gestureType |
|---|---|---|---|
| 1 | Call control | 1: Answer call 2: Hang up |
1: Flip palm 90° twice 2: Flick twice 3: Rotate arm horizontally 90° twice 4: Rotate arm vertically 90° twice |
| 2 | Camera control | 1: Remote shutter | 1: Flip palm 90° twice 2: Flick twice 3: Rotate arm horizontally 90° twice |
| 3 | Music control | 1: Next track | 1: Flip palm 90° twice 2: Flick twice 3: Rotate arm horizontally 90° twice |
Mutual exclusion: Within the same functionType, the gestureType chosen for each sub-function must be unique. For example, if Answer uses “Flip palm 90° twice”, Hang up must use another gesture (e.g. “Flick twice”).