harmony 鸿蒙VibratorTypes.idl

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

VibratorTypes.idl

概述

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

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

起始版本: 3.2

相关模块:Vibrator

汇总

名称 描述
struct  HdfVibratorInfo 定义马达参数。
struct  TimeEffect 定义时间效果参数。
struct  PrimitiveEffect 定义基本效果参数。
union  CompositeEffect 定义复合效果定义两种效果。
struct  HdfCompositeEffect 定义复合振动效果参数。
struct  HdfEffectInfo 定义振动效果信息。

枚举

名称 描述
HdfVibratorMode { HDF_VIBRATOR_MODE_ONCE , HDF_VIBRATOR_MODE_PRESET , HDF_VIBRATOR_MODE_BUTT } 枚举马达的振动模式。
HdfEffectType { HDF_EFFECT_TYPE_TIME , HDF_EFFECT_TYPE_PRIMITIVE , HDF_EFFECT_TYPE_BUTT } 枚举复合效果的效果类型。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Vibrator HDI 参考

harmony 鸿蒙CurvePoint

harmony 鸿蒙HapticCapacity

harmony 鸿蒙HapticEvent

harmony 鸿蒙HapticPaket

harmony 鸿蒙HdfCompositeEffect

harmony 鸿蒙HdfEffectInfo

harmony 鸿蒙HdfVibratorInfo

harmony 鸿蒙IVibratorInterface.idl

harmony 鸿蒙IVibratorInterface.idl

0  赞