openharmony 鸿蒙 _vibrator_types_8idl_v11

2025-06-16 浏览 (1)

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

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