harmony 鸿蒙Vibrator_FileDescription

2025-06-12 浏览 (1)

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

NameDescription
fdFile handle of the custom vibration sequence.
offsetOffset address of the custom vibration sequence.
lengthTotal 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)

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