harmony 鸿蒙oh_environment.h
oh_environment.h
Overview
Defines the native APIs used to obtain the sandbox paths of the user files.
Library: libohenvironment.so
System capability: SystemCapability.FileManagement.File.Environment.FolderObtain
Since: 12
Related module: Environment
Summary
Functions
Name | Description |
---|---|
FileManagement_ErrCode OH_Environment_GetUserDownloadDir (char **result) | Obtains the sandbox path of the Download root directory. This function is available only for 2-in-1 devices. |
FileManagement_ErrCode OH_Environment_GetUserDesktopDir (char **result) | Obtains the sandbox path of the Desktop root directory. This function is available only for 2-in-1 devices. |
FileManagement_ErrCode OH_Environment_GetUserDocumentDir (char **result) | Obtains the sandbox path of the Documents root directory. This function is available only for 2-in-1 devices. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙FileShare_PolicyErrorResult
harmony 鸿蒙FileShare_PolicyInfo
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦