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 37**起始版本:** 4.0 38 39**参数:** 40 41| 名称 | 描述 | 42| -------- | -------- | 43| motionType | 运动类型。有关详细信息,请参阅[HdfMotionTypeTag](_motion_v11.md#hdfmotiontypetag)。 | 44| data | 一个技巧的运动波配置参数。有关详细信息,请参阅[WaveParam](_wave_param_v11.md)。 | 45| len | 数据长度。 | 46 47**返回:** 48 49如果操作成功,则返回0。 50 51如果操作失败,则返回负值。 52