raw_file_manager.h

Overview

Provides functions for managing rawfile resources.

You can use the resource manager to open a rawfile and perform operations such as data search and reading.

Since: 8

Related Modules:

Rawfile

Summary

Types

Name Description
NativeResourceManager Implements the resource manager.

Functions

Name Description
OH_ResourceManager_InitNativeResourceManager (napi_env env, napi_value jsResMgr) Obtains the native resource manager based on JavaScipt resource manager.
OH_ResourceManager_ReleaseNativeResourceManager (NativeResourceManager *resMgr) Releases a native resource manager.
OH_ResourceManager_OpenRawDir (const NativeResourceManager *mgr, const char *dirName) Opens a rawfile directory.
OH_ResourceManager_OpenRawFile (const NativeResourceManager *mgr, const char *fileName) Opens a rawfile.