harmony 鸿蒙VibratorTypes.idl

  • 2025-06-16
  • 浏览 (2)

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

0  赞