raw_dir.h
Overview
Provides APIs for operating the rawfile directory, including traversing and closing the rawfile directory.
System capability: SystemCapability.Global.ResourceManager
Library: librawfile.z.so
Since: 8
Related module: Rawfile
Summary
Types
| Name | Description |
|---|---|
| typedef struct RawDirRawDir | Provides access to the rawfile directory. |
Functions
| Name | Description |
|---|---|
| const char * OH_ResourceManager_GetRawFileName (RawDir *rawDir, int index) | Obtains the name of a file in rawfile based on the index. |
| int OH_ResourceManager_GetRawFileCount (RawDir *rawDir) | Obtains the number of files in the RawDir directory. |
| void OH_ResourceManager_CloseRawDir (RawDir *rawDir) | Closes a RawDir and releases all associated resources. |