From c378001e7af676bd62dc5a69919536d56778fe78 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Fri, 14 Apr 2023 09:01:11 +0000 Subject: [PATCH] add nativeapis Signed-off-by: zengyawen --- .../reference/native-apis/raw__dir_8h.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) 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 e69de29bb2..d510bd8a49 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. | -- GitLab