harmony 鸿蒙HdfVibratorInfo

2022-10-28 浏览 (742)

HdfVibratorInfo

概述

定义马达参数。

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

Since: 3.2 Version: 1.1 相关模块:

Vibrator

汇总

Public 属性

名称描述
isSupportIntensityint
设置马达振幅。1表示支持,0表示不支持。 
isSupportFrequencyint
设置马达频率。1表示支持,0表示不支持。 
intensityMaxValueint
最大振幅。 
intensityMinValueint
最小振幅。 
frequencyMaxValueint
最大频率。 
frequencyMinValueint
最小频率。 

类成员变量说明

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 鸿蒙HDI 参数参考

harmony 鸿蒙ActRecognitionEvent

harmony 鸿蒙Activation

harmony 鸿蒙ActivityRecognitionTypes.idl

harmony 鸿蒙AddFusion

harmony 鸿蒙Alignment

harmony 鸿蒙AllocInfo

harmony 鸿蒙ApduSimIORequestInfo

harmony 鸿蒙ArgMaxFusion

harmony 鸿蒙Audio

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