raw_dir.h

Overview

Provides APIs for operating the rawfile directory, including traversing and closing the rawfile directory.

Since: 8

Related module: [Rawfile] (rawfile.md)

Summary

Types

Name Description
RawDir Provides access to the rawfile directory.

Functions

Name Description
OH_ResourceManager_GetRawFileName (RawDir *rawDir, int index) Obtains the name of a rawfile based on the index.
OH_ResourceManager_GetRawFileCount (RawDir *rawDir) Obtains the number of files in the RawDir directory.
OH_ResourceManager_CloseRawDir (RawDir *rawDir) Closes a RawDir and releases all associated resources.