diff --git a/en/application-dev/reference/native-apis/raw__dir_8h.md b/en/application-dev/reference/native-apis/raw__dir_8h.md index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..d510bd8a495ac00706b01b4552f01669d6c53133 100644 --- a/en/application-dev/reference/native-apis/raw__dir_8h.md +++ b/en/application-dev/reference/native-apis/raw__dir_8h.md @@ -0,0 +1,34 @@ +# raw_dir.h + + +## Overview + +Provides functions for operating rawfile directories. + +These functions include traversing and closing rawfile directories. + +**Since:** +8 + +**Related Modules:** + +[Rawfile](rawfile.md) + + +## Summary + + +### Types + +| Name | Description | +| -------- | -------- | +| [RawDir](rawfile.md#rawdir) | Provides the function of accessing rawfile directories. | + + +### Functions + +| Name | Description | +| -------- | -------- | +| [OH_ResourceManager_GetRawFileName](rawfile.md#oh_resourcemanager_getrawfilename) ([RawDir](rawfile.md#rawdir) \*rawDir, int index) | Obtains the rawfile name via an index. | +| [OH_ResourceManager_GetRawFileCount](rawfile.md#oh_resourcemanager_getrawfilecount) ([RawDir](rawfile.md#rawdir) \*rawDir) |Obtains the number of rawfiles in [RawDir](rawfile.md#rawdir). | +| [OH_ResourceManager_CloseRawDir](rawfile.md#oh_resourcemanager_closerawdir) ([RawDir](rawfile.md#rawdir) \*rawDir) | Closes an opened [RawDir](rawfile.md#rawdir) and releases all associated resources. |