harmony 鸿蒙RawFileDescriptor

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

RawFileDescriptor

Provides the descriptor of the HAP where the rawfile is located.

NOTE

The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.

Import a module.

import { resourceManager } from '@kit.LocalizationKit'

RawFileDescriptor

Atomic service API: This API can be used in atomic services since API version 11.

System capability: SystemCapability.Global.ResourceManager

Name Type Readable Writable Description
fd number Yes No Pointer to the file descriptor.
offset number Yes No Start offset.
length number Yes No File length.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Localization Kit

harmony 鸿蒙RawFileDescriptor

harmony 鸿蒙RawFileDescriptor64

harmony 鸿蒙ResourceManager_Configuration

harmony 鸿蒙Font Management Error Codes

harmony 鸿蒙I18N Error Codes

harmony 鸿蒙Resource Manager Error Codes

harmony 鸿蒙@ohos.fontManager (Font Management)

harmony 鸿蒙@ohos.i18n (Internationalization) (System API)

harmony 鸿蒙@ohos.i18n (Internationalization)

0  赞