• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# IMotionInterface
2
3
4## 概述
5
6提供Motion设备基本控制操作接口。
7
8接口提供使能/去使能手势识别、订阅/取消订阅手势识别数据功能。
9
10**起始版本:** 4.0
11
12**相关模块:**[Motion](_motion_v11.md)
13
14
15## 汇总
16
17
18### Public 成员函数
19
20| 名称 | 描述 |
21| -------- | -------- |
22| [SetMotionConfig](#setmotionconfig) ([in] int motionType, [in] unsigned char[] data) | 设置运动配置信息。  |
23
24
25## 成员函数说明
26
27
28### SetMotionConfig()
29
30```
31IMotionInterface::SetMotionConfig ([in] int motionType, [in] unsigned char[] data )
32```
33**描述**
34设置运动配置信息。
35
36**起始版本:** 4.0
37
38**参数:**
39
40| 名称 | 描述 |
41| -------- | -------- |
42| motionType | 运动类型。有关详细信息,请参阅[HdfMotionTypeTag](_motion_v11.md#hdfmotiontypetag)。  |
43| data | 一个技巧的运动波配置参数。有关详细信息,请参阅[WaveParam](_wave_param_v11.md)。  |
44| len | 数据长度。 |
45
46**返回:**
47
48如果操作成功,则返回0。
49
50如果操作失败,则返回负值。
51