openharmony 鸿蒙 _hdf_vibrator_info_v11

2025-06-16 浏览 (1)

HdfVibratorInfo

概述

定义马达参数。

参数包括设置马达振幅和频率以及振幅和频率的范围。

起始版本: 3.2

相关模块:Vibrator

汇总

Public 属性

名称描述
int isSupportIntensity设置马达振幅。1表示支持,0表示不支持。
int isSupportFrequency设置马达频率。1表示支持,0表示不支持。
int intensityMaxValue最大振幅。
int intensityMinValue最小振幅。
int frequencyMaxValue最大频率。
int frequencyMinValue最小频率。

类成员变量说明

frequencyMaxValue

int HdfVibratorInfo::frequencyMaxValue

描述

最大频率。

frequencyMinValue

int HdfVibratorInfo::frequencyMinValue

描述

最小频率。

intensityMaxValue

int HdfVibratorInfo::intensityMaxValue

描述

最大振幅。

intensityMinValue

int HdfVibratorInfo::intensityMinValue

描述

最小振幅。

isSupportFrequency

int HdfVibratorInfo::isSupportFrequency

描述

设置马达频率。1表示支持,0表示不支持。

isSupportIntensity

int HdfVibratorInfo::isSupportIntensity

描述

设置马达振幅。1表示支持,0表示不支持。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Vibrator HDI 参考

harmony 鸿蒙CurvePoint

harmony 鸿蒙HapticCapacity

harmony 鸿蒙HapticEvent

harmony 鸿蒙HapticPaket

harmony 鸿蒙HdfCompositeEffect

harmony 鸿蒙HdfEffectInfo

harmony 鸿蒙IVibratorInterface.idl

harmony 鸿蒙IVibratorInterface.idl

harmony 鸿蒙IVibratorInterface.idl

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