harmony 鸿蒙Vibrator_FileDescription

  • 2025-06-12
  • 浏览 (6)

Vibrator_FileDescription

Overview

The Vibrator_FileDescription struct describes the vibration file description.

Since: 11

Related module: Vibrator

Header file: vibrator_type.h

Summary

Member Variables

Name Description
fd File handle of the custom vibration sequence.
offset Offset address of the custom vibration sequence.
length Total length of the custom vibration sequence.

Member Variable Description

fd

int32_t Vibrator_FileDescription::fd

Description

File handle of the custom vibration sequence.

offset

int64_t Vibrator_FileDescription::offset

Description

Offset address of the custom vibration sequence.

length

int64_t Vibrator_FileDescription::length

Description

Total length of the custom vibration sequence.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Sensor Service Kit

harmony 鸿蒙Sensor

harmony 鸿蒙Vibrator

harmony 鸿蒙Vibrator_Attribute

harmony 鸿蒙Sensor Error Codes

harmony 鸿蒙Vibrator Error Codes

harmony 鸿蒙@ohos.sensor (Sensor) (System API)

harmony 鸿蒙js-apis-sensor

harmony 鸿蒙@system.sensor (Sensor)

harmony 鸿蒙@system.vibrator (Vibrator)

0  赞