openharmony 鸿蒙 _vibrator_types_8idl_v12

2025-06-16 浏览 (1)

VibratorTypes.idl

概述

定义马达数据结构,包括马达振动模式和马达参数。

模块包路径:ohos.hdi.vibrator.v1_2

引用:ohos.hdi.vibrator.v1_1.VibratorTypes

起始版本: 4.1

相关模块:Vibrator

汇总

类

名称描述
struct  CurvePoint表示振动点。
struct  HapticEvent表示振动事件。
struct  HapticPaket高清振动数据包。
struct  HapticCapacity振动能力数据包。

枚举

名称描述
EVENT_TYPE { CONTINUOUS = 0 , TRANSIENT = 1 }表示振动类型。
HdfVibratorModeV1_2 { HDF_VIBRATOR_MODE_ONCE , HDF_VIBRATOR_MODE_PRESET , HDF_VIBRATOR_MODE_HDHAPTIC , HDF_VIBRATOR_MODE_BUTT }表示StopV1_2接口可传入参数枚举。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Vibrator HDI 参考

harmony 鸿蒙CurvePoint

harmony 鸿蒙HapticCapacity

harmony 鸿蒙HapticEvent

harmony 鸿蒙HapticPaket

harmony 鸿蒙HdfCompositeEffect

harmony 鸿蒙HdfEffectInfo

harmony 鸿蒙HdfVibratorInfo

harmony 鸿蒙IVibratorInterface.idl

harmony 鸿蒙IVibratorInterface.idl

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