harmony 鸿蒙PrimitiveEffect

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

PrimitiveEffect

概述

定义基本效果参数。

参数包括延迟、效应id和振动强度。

起始版本: 3.2

相关模块:Vibrator

汇总

Public 属性

名称 描述
int delay 等待时间
int effectId 效果id
unsigned short intensity 振动强度

类成员变量说明

delay

int PrimitiveEffect::delay

描述

等待时间

effectId

int PrimitiveEffect::effectId

描述

效果id

intensity

unsigned short PrimitiveEffect::intensity

描述

振动强度

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Vibrator HDI 参考

harmony 鸿蒙CurvePoint

harmony 鸿蒙HapticCapacity

harmony 鸿蒙HapticEvent

harmony 鸿蒙HapticPaket

harmony 鸿蒙HdfCompositeEffect

harmony 鸿蒙HdfEffectInfo

harmony 鸿蒙HdfVibratorInfo

harmony 鸿蒙IVibratorInterface.idl

harmony 鸿蒙IVibratorInterface.idl

0  赞