diff --git a/filemanagement/environment/include/oh_environment.h b/filemanagement/environment/include/oh_environment.h index d6f230ce8b7483dbc01d652af4d5274006b2cfc2..f36caa72dabc3537df3aa36b37136e39d37d55e4 100644 --- a/filemanagement/environment/include/oh_environment.h +++ b/filemanagement/environment/include/oh_environment.h @@ -39,6 +39,7 @@ extern "C" { #endif /** * @brief Get the user Download directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DOWNLOAD_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource. @@ -53,6 +54,7 @@ FileManagement_ErrCode OH_Environment_GetUserDownloadDir(char **result); /** * @brief Get the user Desktop directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DESKTOP_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource. @@ -67,6 +69,7 @@ FileManagement_ErrCode OH_Environment_GetUserDesktopDir(char **result); /** * @brief Get the user Document directory. + * This API can be called only by system applications. * * @permission ohos.permission.READ_WRITE_DOCUMENTS_DIRECTORY * @param result Output a pointer to a string. Please use free() to clear the resource.