openharmony 鸿蒙 interface_i_motion_interface_v11

2025-06-16 浏览 (1)

IMotionInterface

概述

提供Motion设备基本控制操作接口。

接口提供使能/去使能手势识别、订阅/取消订阅手势识别数据功能。

起始版本: 4.0

相关模块:Motion

汇总

Public 成员函数

名称描述
SetMotionConfig ([in] int motionType, [in] unsigned char[] data)设置运动配置信息。

成员函数说明

SetMotionConfig()

IMotionInterface::SetMotionConfig ([in] int motionType, [in] unsigned char[] data)

描述

设置运动配置信息。

起始版本: 4.0

参数:

名称描述
motionType运动类型。有关详细信息,请参阅HdfMotionTypeTag
data一个技巧的运动波配置参数。有关详细信息,请参阅WaveParam
len数据长度。

返回:

如果操作成功,则返回0。

如果操作失败,则返回负值。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Motion HDI 参考

harmony 鸿蒙HdfMotionEvent

harmony 鸿蒙IMotionCallback.idl

harmony 鸿蒙IMotionInterface.idl

harmony 鸿蒙IMotionInterface.idl

harmony 鸿蒙MotionTypes.idl

harmony 鸿蒙MotionTypes.idl

harmony 鸿蒙Motion (V1_0)

harmony 鸿蒙Motion (V1_1)

harmony 鸿蒙WaveParam

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/wRlZ9o