Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

原库部分接口在HarmonyOS中没有对应常量及接口 #2

@wh-hujinyun

Description

@wh-hujinyun

鸿蒙没有提供原库对应常量能力:
MainBundlePath;
ExternalCachesDirectoryPath;
DownloadDirectoryPath;
TemporaryDirectoryPath;
LibraryDirectoryPath;
ExternalDirectoryPath;
ExternalStorageDirectoryPath;
PicturesDirectoryPath;
RoamingDirectoryPath;
对应接口能力:
readDir;
readDirAssets;
readdir;
readFileRes;
copyFolder;
copyFileAssets;
copyFileRes;
copyAssetsFileIOS;
copyAssetsVideoIOS;
existsAssets;
existsRes;
downloadFile;
stopDownload;
resumeDownload;
isResumable;
completeHandlerIOS;
uploadFiles;
stopUpload;
getFSInfo;
scanFile;
getAllExternalFilesDirs;
pathForGroup;
需要底层提供相关接口

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions