| 操作 | 旧版本 | 新版本 | d.ts文件 | | ---- | ------ | ------ | -------- | |删除|类名:FileKey;
方法or属性:WIDTH = 'width'|NA|@ohos.file.fileAccess.d.ts| |删除|类名:FileKey;
方法or属性:HEIGHT = 'height'|NA|@ohos.file.fileAccess.d.ts| |删除|类名:FileKey;
方法or属性:DURATION = 'duration'|NA|@ohos.file.fileAccess.d.ts| |删除|类名:FileAccessHelper;
方法or属性:getThumbnail(uri: string, size: image.Size): Promise\;|NA|@ohos.file.fileAccess.d.ts| |删除|类名:FileAccessHelper;
方法or属性:getThumbnail(uri: string, size: image.Size, callback: AsyncCallback\): void;|NA|@ohos.file.fileAccess.d.ts| |新增|NA|类名:BundleVersion;
方法or属性:code: number;|@ohos.application.BackupExtensionAbility.d.ts| |新增|NA|类名:BundleVersion;
方法or属性:name: string;|@ohos.application.BackupExtensionAbility.d.ts| |新增|NA|类名:BackupExtensionAbility;
方法or属性:onBackup(): void;|@ohos.application.BackupExtensionAbility.d.ts| |新增|NA|类名:BackupExtensionAbility;
方法or属性:onRestore(bundleVersion: BundleVersion): void;|@ohos.application.BackupExtensionAbility.d.ts| |新增|NA|类名:GallerySync;
方法or属性:off(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| |新增|NA|类名:Download;
方法or属性:off(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| |新增|NA|类名:NotifyType;
方法or属性:NOTIFY_ADD|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyType;
方法or属性:NOTIFY_DELETE|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyType;
方法or属性:NOTIFY_MOVED_TO|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyType;
方法or属性:NOTIFY_MOVED_FROM|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyType;
方法or属性:NOTIFY_MOVE_SELF|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyMessage;
方法or属性:type: NotifyType;|@ohos.file.fileAccess.d.ts| |新增|NA|类名:NotifyMessage;
方法or属性:uris: Array\;|@ohos.file.fileAccess.d.ts| |新增|NA|类名:FileAccessHelper;
方法or属性:registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback\): void;|@ohos.file.fileAccess.d.ts| |新增|NA|类名:FileAccessHelper;
方法or属性:unregisterObserver(uri: string, callback?: Callback\): void;|@ohos.file.fileAccess.d.ts| |新增|NA|类名:FileUri;
方法or属性:constructor(uriOrPath: string);|@ohos.file.fileuri.d.ts| |新增|NA|类名:FileUri;
方法or属性:readonly name: string;|@ohos.file.fileuri.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function copyDir(src: string, dest: string, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function copyDir(src: string, dest: string, mode: number, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function copyDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function dup(fd: number): File;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts| |新增|NA|类名:sourcefile;
方法or属性:declare function moveDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| |新增|NA|类名:File;
方法or属性:readonly path: string;|@ohos.file.fs.d.ts| |新增|NA|类名:File;
方法or属性:readonly name: string;|@ohos.file.fs.d.ts| |新增|NA|类名:PhotoAsset;
方法or属性:setUserComment(userComment: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAsset;
方法or属性:setUserComment(userComment: string): Promise\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAsset;
方法or属性:getExif(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAsset;
方法or属性:getExif(): Promise\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoKeys;
方法or属性:USER_COMMENT = 'user_comment'|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoKeys;
方法or属性:CAMERA_SHOT_KEY = 'camera_shot_key'|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoCreateOptions;
方法or属性:cameraShotKey?: string;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAccessHelper;
方法or属性:createDeleteRequest(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAccessHelper;
方法or属性:createDeleteRequest(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAccessHelper;
方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoAccessHelper;
方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewMIMETypes;
方法or属性:IMAGE_TYPE = 'image/*'|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewMIMETypes;
方法or属性:VIDEO_TYPE = 'video/*'|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewMIMETypes;
方法or属性:IMAGE_VIDEO_TYPE = '\*\/\*'|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoSelectOptions;
方法or属性:MIMEType?: PhotoViewMIMETypes;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoSelectOptions;
方法or属性:maxSelectNumber?: number;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoSelectResult;
方法or属性:photoUris: Array\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoSelectResult;
方法or属性:isOriginalPhoto: boolean;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewPicker;
方法or属性:select(option?: PhotoSelectOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewPicker;
方法or属性:select(option: PhotoSelectOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:PhotoViewPicker;
方法or属性:select(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts| |新增|NA|类名:DocumentSelectOptions;
方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| |新增|NA|类名:DocumentSaveOptions;
方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| |新增|NA|类名:DocumentSelectOptions;
方法or属性:fileSuffixFilters?: Array\;|@ohos.file.picker.d.ts| |新增|NA|类名:DocumentSelectOptions;
方法or属性:maxSelectNumber?: number;|@ohos.file.picker.d.ts| |新增|NA|类名:DocumentSaveOptions;
方法or属性:fileSuffixChoices?: Array\;|@ohos.file.picker.d.ts| |新增|NA|类名:recent;
方法or属性:function listFile(): Array\;|@ohos.file.recent.d.ts| |新增|NA|类名:recent;
方法or属性:function add(uri: string): void;|@ohos.file.recent.d.ts| |新增|NA|类名:recent;
方法or属性:function remove(uri: string): void;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly uri: string;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly srcPath: string;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly fileName: string;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly mode: number;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly size: number;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly mtime: number;|@ohos.file.recent.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly ctime: number;|@ohos.file.recent.d.ts| |新增|NA|类名:statfs;
方法or属性:function getFreeSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| |新增|NA|类名:statfs;
方法or属性:function getTotalSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| |新增|NA|类名:storageStatistics;
方法or属性:function getTotalSizeSync(): number;|@ohos.file.storageStatistics.d.ts| |新增|NA|类名:storageStatistics;
方法or属性:function getFreeSizeSync(): number;|@ohos.file.storageStatistics.d.ts| |新增|NA|类名:trash;
方法or属性:function listFile(): Array\;|@ohos.file.trash.d.ts| |新增|NA|类名:trash;
方法or属性:function recover(uri: string): void;|@ohos.file.trash.d.ts| |新增|NA|类名:trash;
方法or属性:function completelyDelete(uri: string): void;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly uri: string;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly srcPath: string;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly fileName: string;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly mode: number;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly size: number;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly mtime: number;|@ohos.file.trash.d.ts| |新增|NA|类名:FileInfo;
方法or属性:readonly ctime: number;|@ohos.file.trash.d.ts| |新增|NA|类名:FileAsset;
方法or属性:setUserComment(userComment: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:FileAsset;
方法or属性:setUserComment(userComment: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:FileAsset;
方法or属性:getExif(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:FileAsset;
方法or属性:getExif(): Promise\;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:ImageVideoKey;
方法or属性:USER_COMMENT|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:ImageVideoKey;
方法or属性:CAMERA_SHOT_KEY|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:PhotoCreateOptions;
方法or属性:cameraShotKey?: string;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:UserFileManager;
方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts| |新增|NA|类名:UserFileManager;
方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\;|@ohos.filemanagement.userFileManager.d.ts| |错误码有变化|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\): void;
旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\): void;
新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| |错误码有变化|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\): void;
旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;
方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\): void;
新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:get(member: string): MemberType;
旧版本信息:401|类名:PhotoAsset;
方法or属性:get(member: string): MemberType;
新版本信息:401,13900020,14000014|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:set(member: string, value: string): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:set(member: string, value: string): void;
新版本信息:401,13900020,14000014|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:commitModify(callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:commitModify(callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:commitModify(callback: AsyncCallback\): void;
旧版本信息:401|类名:Album;
方法or属性:commitModify(callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:commitModify(): Promise\;
旧版本信息:401|类名:PhotoAsset;
方法or属性:commitModify(): Promise\;
新版本信息:401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:commitModify(): Promise\;
旧版本信息:401|类名:Album;
方法or属性:commitModify(): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:open(mode: string, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:open(mode: string, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:open(mode: string): Promise\;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:open(mode: string): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:getReadOnlyFd(callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:getReadOnlyFd(callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:getReadOnlyFd(): Promise\;
旧版本信息:401|类名:PhotoAsset;
方法or属性:getReadOnlyFd(): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:close(fd: number, callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:close(fd: number, callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:close(fd: number): Promise\;
旧版本信息:401|类名:PhotoAsset;
方法or属性:close(fd: number): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:getThumbnail(callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:getThumbnail(callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAsset;
方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:getThumbnail(size?: image.Size): Promise\;
旧版本信息:401|类名:PhotoAsset;
方法or属性:getThumbnail(size?: image.Size): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean): Promise\;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean): Promise\;
旧版本信息:202,401|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getCount(): number;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getCount(): number;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:isAfterLast(): boolean;
旧版本信息:13900042|类名:FetchResult;
方法or属性:isAfterLast(): boolean;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getFirstObject(callback: AsyncCallback\): void;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getFirstObject(callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getFirstObject(): Promise\;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getFirstObject(): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getNextObject(callback: AsyncCallback\): void;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getNextObject(callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getNextObject(): Promise\;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getNextObject(): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getLastObject(callback: AsyncCallback\): void;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getLastObject(callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getLastObject(): Promise\;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getLastObject(): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\): void;
旧版本信息:401|类名:FetchResult;
方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getObjectByPosition(index: number): Promise\;
旧版本信息:401|类名:FetchResult;
方法or属性:getObjectByPosition(index: number): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getAllObjects(callback: AsyncCallback\>): void;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getAllObjects(callback: AsyncCallback\>): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:getAllObjects(): Promise\>;
旧版本信息:13900042|类名:FetchResult;
方法or属性:getAllObjects(): Promise\>;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:FetchResult;
方法or属性:close(): void;
旧版本信息:13900042|类名:FetchResult;
方法or属性:close(): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;
旧版本信息:401|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions): Promise\>;
旧版本信息:401|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions): Promise\>;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions): Promise\>;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions): Promise\>;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:addAssets(assets: Array\, callback: AsyncCallback\): void;
旧版本信息:401|类名:Album;
方法or属性:addAssets(assets: Array\, callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:addAssets(assets: Array\): Promise\;
旧版本信息:401|类名:Album;
方法or属性:addAssets(assets: Array\): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:removeAssets(assets: Array\, callback: AsyncCallback\): void;
旧版本信息:401|类名:Album;
方法or属性:removeAssets(assets: Array\, callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:removeAssets(assets: Array\): Promise\;
旧版本信息:401|类名:Album;
方法or属性:removeAssets(assets: Array\): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:recoverAssets(assets: Array\, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:Album;
方法or属性:recoverAssets(assets: Array\, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:recoverAssets(assets: Array\): Promise\;
旧版本信息:202,401|类名:Album;
方法or属性:recoverAssets(assets: Array\): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:deleteAssets(assets: Array\, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:Album;
方法or属性:deleteAssets(assets: Array\, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:deleteAssets(assets: Array\): Promise\;
旧版本信息:202,401|类名:Album;
方法or属性:deleteAssets(assets: Array\): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:setCoverUri(uri: string, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:Album;
方法or属性:setCoverUri(uri: string, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:Album;
方法or属性:setCoverUri(uri: string): Promise\;
旧版本信息:202,401|类名:Album;
方法or属性:setCoverUri(uri: string): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, callback: AsyncCallback\): void;
旧版本信息:202,401,14000001|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string): Promise\;
旧版本信息:202,401,14000001|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string): Promise\;
新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\;
旧版本信息:202,401,14000001|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\;
新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;
旧版本信息:202,401,14000001|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900015,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string): Promise\;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string): Promise\;
新版本信息:202,401,13900012,13900015,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\): Promise\;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\): Promise\;
新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;
新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\, callback: AsyncCallback\): void;
新版本信息:202,401,13900012,13900020,14000002,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\): Promise\;
旧版本信息:202,401|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\): Promise\;
新版本信息:202,401,13900012,13900020,14000002,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;
新版本信息:401,13900012,13900020|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:unRegisterChange(uri: string, callback?: Callback\): void;
旧版本信息:401|类名:PhotoAccessHelper;
方法or属性:unRegisterChange(uri: string, callback?: Callback\): void;
新版本信息:401,13900012,13900020|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:release(callback: AsyncCallback\): void;
旧版本信息:13900042|类名:PhotoAccessHelper;
方法or属性:release(callback: AsyncCallback\): void;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:PhotoAccessHelper;
方法or属性:release(): Promise\;
旧版本信息:13900042|类名:PhotoAccessHelper;
方法or属性:release(): Promise\;
新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(callback: AsyncCallback\): void;
旧版本信息:13600001,13900032,401|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(callback: AsyncCallback\): void;
新版本信息:13600001,13900042,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(): Promise\;
旧版本信息:13600001,13900032,401|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(): Promise\;
新版本信息:13600001,13900042,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getSystemSize(callback: AsyncCallback\): void;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getSystemSize(callback: AsyncCallback\): void;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getSystemSize(): Promise\;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getSystemSize(): Promise\;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getUserStorageStats(): Promise\;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getUserStorageStats(): Promise\;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getUserStorageStats(callback: AsyncCallback\): void;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getUserStorageStats(callback: AsyncCallback\): void;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number): Promise\;
旧版本信息:13600001,13600009,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number): Promise\;
新版本信息:13600001,13600009,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
旧版本信息:13600001,13600009,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
新版本信息:13600001,13600009,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getTotalSize(callback: AsyncCallback\): void;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getTotalSize(callback: AsyncCallback\): void;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getTotalSize(): Promise\;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getTotalSize(): Promise\;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getFreeSize(callback: AsyncCallback\): void;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getFreeSize(callback: AsyncCallback\): void;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:storageStatistics;
方法or属性:function getFreeSize(): Promise\;
旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;
方法or属性:function getFreeSize(): Promise\;
新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getAllVolumes(callback: AsyncCallback\>): void;
旧版本信息:13600001,13900032,201,202,401|类名:volumeManager;
方法or属性:function getAllVolumes(callback: AsyncCallback\>): void;
新版本信息:13600001,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getAllVolumes(): Promise\>;
旧版本信息:13600001,13900032,201,202,401|类名:volumeManager;
方法or属性:function getAllVolumes(): Promise\>;
新版本信息:13600001,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function mount(volumeId: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600002,13600003,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function mount(volumeId: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600002,13600003,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function mount(volumeId: string): Promise\;
旧版本信息:13600001,13600002,13600003,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function mount(volumeId: string): Promise\;
新版本信息:13600001,13600002,13600003,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function unmount(volumeId: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600002,13600004,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function unmount(volumeId: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600002,13600004,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function unmount(volumeId: string): Promise\;
旧版本信息:13600001,13600002,13600004,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function unmount(volumeId: string): Promise\;
新版本信息:13600001,13600002,13600004,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\;
旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\;
新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\): void;
旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\): void;
新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string): Promise\;
旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string): Promise\;
新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\): void;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\): void;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |错误码有变化|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number): Promise\;
旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number): Promise\;
新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| |访问级别有变化|类名:sourcefile;
方法or属性:declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;
旧版本信息:systemapi|类名:sourcefile;
方法or属性:declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEventListener;
方法or属性:export interface WatchEventListener
旧版本信息:systemapi|类名:WatchEventListener;
方法or属性:export interface WatchEventListener
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEventListener;
方法or属性:(event: WatchEvent): void;
旧版本信息:systemapi|类名:WatchEventListener;
方法or属性:(event: WatchEvent): void;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEvent;
方法or属性:export interface WatchEvent
旧版本信息:systemapi|类名:WatchEvent;
方法or属性:export interface WatchEvent
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEvent;
方法or属性:readonly fileName: string;
旧版本信息:systemapi|类名:WatchEvent;
方法or属性:readonly fileName: string;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEvent;
方法or属性:readonly event: number;
旧版本信息:systemapi|类名:WatchEvent;
方法or属性:readonly event: number;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:WatchEvent;
方法or属性:readonly cookie: number;
旧版本信息:systemapi|类名:WatchEvent;
方法or属性:readonly cookie: number;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:Watcher;
方法or属性:export interface Watcher
旧版本信息:systemapi|类名:Watcher;
方法or属性:export interface Watcher
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:Watcher;
方法or属性:start(): void;
旧版本信息:systemapi|类名:Watcher;
方法or属性:start(): void;
新版本信息:|@ohos.file.fs.d.ts| |访问级别有变化|类名:Watcher;
方法or属性:stop(): void;
旧版本信息:systemapi|类名:Watcher;
方法or属性:stop(): void;
新版本信息:|@ohos.file.fs.d.ts| |权限有变化|类名:photoAccessHelper;
方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;
旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:photoAccessHelper;
方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;
新版本信息:|@ohos.file.photoAccessHelper.d.ts| |权限有变化|类名:PhotoAccessHelper;
方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;
旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:PhotoAccessHelper;
方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;
新版本信息:|@ohos.file.photoAccessHelper.d.ts| |权限有变化|类名:PhotoAccessHelper;
方法or属性:unRegisterChange(uri: string, callback?: Callback\): void;
旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:PhotoAccessHelper;
方法or属性:unRegisterChange(uri: string, callback?: Callback\): void;
新版本信息:|@ohos.file.photoAccessHelper.d.ts| |model有变化|类名:FileInfo;
方法or属性:uri: string;
旧版本信息:|类名:FileInfo;
方法or属性:uri: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:RootInfo;
方法or属性:uri: string;
旧版本信息:|类名:RootInfo;
方法or属性:uri: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:relativePath: string;
旧版本信息:|类名:FileInfo;
方法or属性:relativePath: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:RootInfo;
方法or属性:relativePath: string;
旧版本信息:|类名:RootInfo;
方法or属性:relativePath: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:fileName: string;
旧版本信息:|类名:FileInfo;
方法or属性:fileName: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:mode: number;
旧版本信息:|类名:FileInfo;
方法or属性:mode: number;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:size: number;
旧版本信息:|类名:FileInfo;
方法or属性:size: number;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:mtime: number;
旧版本信息:|类名:FileInfo;
方法or属性:mtime: number;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileInfo;
方法or属性:mimeType: string;
旧版本信息:|类名:FileInfo;
方法or属性:mimeType: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:RootInfo;
方法or属性:deviceType: number;
旧版本信息:|类名:RootInfo;
方法or属性:deviceType: number;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:RootInfo;
方法or属性:displayName: string;
旧版本信息:|类名:RootInfo;
方法or属性:displayName: string;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:RootInfo;
方法or属性:deviceFlags: number;
旧版本信息:|类名:RootInfo;
方法or属性:deviceFlags: number;
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:OPENFLAGS;
方法or属性:READ = 0o0
旧版本信息:|类名:OPENFLAGS;
方法or属性:READ = 0o0
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:OPENFLAGS;
方法or属性:WRITE = 0o1
旧版本信息:|类名:OPENFLAGS;
方法or属性:WRITE = 0o1
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:OPENFLAGS;
方法or属性:WRITE_READ = 0o2
旧版本信息:|类名:OPENFLAGS;
方法or属性:WRITE_READ = 0o2
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileKey;
方法or属性:DISPLAY_NAME = 'display_name'
旧版本信息:|类名:FileKey;
方法or属性:DISPLAY_NAME = 'display_name'
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileKey;
方法or属性:DATE_ADDED = 'date_added'
旧版本信息:|类名:FileKey;
方法or属性:DATE_ADDED = 'date_added'
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileKey;
方法or属性:DATE_MODIFIED = 'date_modified'
旧版本信息:|类名:FileKey;
方法or属性:DATE_MODIFIED = 'date_modified'
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileKey;
方法or属性:RELATIVE_PATH = 'relative_path'
旧版本信息:|类名:FileKey;
方法or属性:RELATIVE_PATH = 'relative_path'
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| |model有变化|类名:FileKey;
方法or属性:FILE_SIZE = 'size'
旧版本信息:|类名:FileKey;
方法or属性:FILE_SIZE = 'size'
新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts|