1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|删除|类名:FileKey;<br>方法or属性:WIDTH = 'width'|NA|@ohos.file.fileAccess.d.ts| 4|删除|类名:FileKey;<br>方法or属性:HEIGHT = 'height'|NA|@ohos.file.fileAccess.d.ts| 5|删除|类名:FileKey;<br>方法or属性:DURATION = 'duration'|NA|@ohos.file.fileAccess.d.ts| 6|删除|类名:FileAccessHelper;<br>方法or属性:getThumbnail(uri: string, size: image.Size): Promise\<image.PixelMap>;|NA|@ohos.file.fileAccess.d.ts| 7|删除|类名:FileAccessHelper;<br>方法or属性:getThumbnail(uri: string, size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|NA|@ohos.file.fileAccess.d.ts| 8|新增|NA|类名:BundleVersion;<br>方法or属性:code: number;|@ohos.application.BackupExtensionAbility.d.ts| 9|新增|NA|类名:BundleVersion;<br>方法or属性:name: string;|@ohos.application.BackupExtensionAbility.d.ts| 10|新增|NA|类名:BackupExtensionAbility;<br>方法or属性:onBackup(): void;|@ohos.application.BackupExtensionAbility.d.ts| 11|新增|NA|类名:BackupExtensionAbility;<br>方法or属性:onRestore(bundleVersion: BundleVersion): void;|@ohos.application.BackupExtensionAbility.d.ts| 12|新增|NA|类名:GallerySync;<br>方法or属性:off(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| 13|新增|NA|类名:Download;<br>方法or属性:off(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| 14|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.file.fileAccess.d.ts| 15|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_DELETE|@ohos.file.fileAccess.d.ts| 16|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVED_TO|@ohos.file.fileAccess.d.ts| 17|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVED_FROM|@ohos.file.fileAccess.d.ts| 18|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVE_SELF|@ohos.file.fileAccess.d.ts| 19|新增|NA|类名:NotifyMessage;<br>方法or属性:type: NotifyType;|@ohos.file.fileAccess.d.ts| 20|新增|NA|类名:NotifyMessage;<br>方法or属性:uris: Array\<string>;|@ohos.file.fileAccess.d.ts| 21|新增|NA|类名:FileAccessHelper;<br>方法or属性:registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback\<NotifyMessage>): void;|@ohos.file.fileAccess.d.ts| 22|新增|NA|类名:FileAccessHelper;<br>方法or属性:unregisterObserver(uri: string, callback?: Callback\<NotifyMessage>): void;|@ohos.file.fileAccess.d.ts| 23|新增|NA|类名:FileUri;<br>方法or属性:constructor(uriOrPath: string);|@ohos.file.fileuri.d.ts| 24|新增|NA|类名:FileUri;<br>方法or属性:readonly name: string;|@ohos.file.fileuri.d.ts| 25|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 26|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 27|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 28|新增|NA|类名:sourcefile;<br>方法or属性:declare function dup(fd: number): File;|@ohos.file.fs.d.ts| 29|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 30|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 31|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 32|新增|NA|类名:File;<br>方法or属性:readonly path: string;|@ohos.file.fs.d.ts| 33|新增|NA|类名:File;<br>方法or属性:readonly name: string;|@ohos.file.fs.d.ts| 34|新增|NA|类名:PhotoAsset;<br>方法or属性:setUserComment(userComment: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 35|新增|NA|类名:PhotoAsset;<br>方法or属性:setUserComment(userComment: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 36|新增|NA|类名:PhotoAsset;<br>方法or属性:getExif(callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 37|新增|NA|类名:PhotoAsset;<br>方法or属性:getExif(): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts| 38|新增|NA|类名:PhotoKeys;<br>方法or属性:USER_COMMENT = 'user_comment'|@ohos.file.photoAccessHelper.d.ts| 39|新增|NA|类名:PhotoKeys;<br>方法or属性:CAMERA_SHOT_KEY = 'camera_shot_key'|@ohos.file.photoAccessHelper.d.ts| 40|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:cameraShotKey?: string;|@ohos.file.photoAccessHelper.d.ts| 41|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createDeleteRequest(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 42|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createDeleteRequest(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 43|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 44|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 45|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:IMAGE_TYPE = 'image/*'|@ohos.file.photoAccessHelper.d.ts| 46|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:VIDEO_TYPE = 'video/*'|@ohos.file.photoAccessHelper.d.ts| 47|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:IMAGE_VIDEO_TYPE = '\*\/\*'|@ohos.file.photoAccessHelper.d.ts| 48|新增|NA|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;|@ohos.file.photoAccessHelper.d.ts| 49|新增|NA|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;|@ohos.file.photoAccessHelper.d.ts| 50|新增|NA|类名:PhotoSelectResult;<br>方法or属性:photoUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 51|新增|NA|类名:PhotoSelectResult;<br>方法or属性:isOriginalPhoto: boolean;|@ohos.file.photoAccessHelper.d.ts| 52|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(option?: PhotoSelectOptions): Promise\<PhotoSelectResult>;|@ohos.file.photoAccessHelper.d.ts| 53|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(option: PhotoSelectOptions, callback: AsyncCallback\<PhotoSelectResult>): void;|@ohos.file.photoAccessHelper.d.ts| 54|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(callback: AsyncCallback\<PhotoSelectResult>): void;|@ohos.file.photoAccessHelper.d.ts| 55|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| 56|新增|NA|类名:DocumentSaveOptions;<br>方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| 57|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:fileSuffixFilters?: Array\<string>;|@ohos.file.picker.d.ts| 58|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:maxSelectNumber?: number;|@ohos.file.picker.d.ts| 59|新增|NA|类名:DocumentSaveOptions;<br>方法or属性:fileSuffixChoices?: Array\<string>;|@ohos.file.picker.d.ts| 60|新增|NA|类名:recent;<br>方法or属性:function listFile(): Array\<FileInfo>;|@ohos.file.recent.d.ts| 61|新增|NA|类名:recent;<br>方法or属性:function add(uri: string): void;|@ohos.file.recent.d.ts| 62|新增|NA|类名:recent;<br>方法or属性:function remove(uri: string): void;|@ohos.file.recent.d.ts| 63|新增|NA|类名:FileInfo;<br>方法or属性:readonly uri: string;|@ohos.file.recent.d.ts| 64|新增|NA|类名:FileInfo;<br>方法or属性:readonly srcPath: string;|@ohos.file.recent.d.ts| 65|新增|NA|类名:FileInfo;<br>方法or属性:readonly fileName: string;|@ohos.file.recent.d.ts| 66|新增|NA|类名:FileInfo;<br>方法or属性:readonly mode: number;|@ohos.file.recent.d.ts| 67|新增|NA|类名:FileInfo;<br>方法or属性:readonly size: number;|@ohos.file.recent.d.ts| 68|新增|NA|类名:FileInfo;<br>方法or属性:readonly mtime: number;|@ohos.file.recent.d.ts| 69|新增|NA|类名:FileInfo;<br>方法or属性:readonly ctime: number;|@ohos.file.recent.d.ts| 70|新增|NA|类名:statfs;<br>方法or属性:function getFreeSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| 71|新增|NA|类名:statfs;<br>方法or属性:function getTotalSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| 72|新增|NA|类名:storageStatistics;<br>方法or属性:function getTotalSizeSync(): number;|@ohos.file.storageStatistics.d.ts| 73|新增|NA|类名:storageStatistics;<br>方法or属性:function getFreeSizeSync(): number;|@ohos.file.storageStatistics.d.ts| 74|新增|NA|类名:trash;<br>方法or属性:function listFile(): Array\<FileInfo>;|@ohos.file.trash.d.ts| 75|新增|NA|类名:trash;<br>方法or属性:function recover(uri: string): void;|@ohos.file.trash.d.ts| 76|新增|NA|类名:trash;<br>方法or属性:function completelyDelete(uri: string): void;|@ohos.file.trash.d.ts| 77|新增|NA|类名:FileInfo;<br>方法or属性:readonly uri: string;|@ohos.file.trash.d.ts| 78|新增|NA|类名:FileInfo;<br>方法or属性:readonly srcPath: string;|@ohos.file.trash.d.ts| 79|新增|NA|类名:FileInfo;<br>方法or属性:readonly fileName: string;|@ohos.file.trash.d.ts| 80|新增|NA|类名:FileInfo;<br>方法or属性:readonly mode: number;|@ohos.file.trash.d.ts| 81|新增|NA|类名:FileInfo;<br>方法or属性:readonly size: number;|@ohos.file.trash.d.ts| 82|新增|NA|类名:FileInfo;<br>方法or属性:readonly mtime: number;|@ohos.file.trash.d.ts| 83|新增|NA|类名:FileInfo;<br>方法or属性:readonly ctime: number;|@ohos.file.trash.d.ts| 84|新增|NA|类名:FileAsset;<br>方法or属性:setUserComment(userComment: string, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 85|新增|NA|类名:FileAsset;<br>方法or属性:setUserComment(userComment: string): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 86|新增|NA|类名:FileAsset;<br>方法or属性:getExif(callback: AsyncCallback\<string>): void;|@ohos.filemanagement.userFileManager.d.ts| 87|新增|NA|类名:FileAsset;<br>方法or属性:getExif(): Promise\<string>;|@ohos.filemanagement.userFileManager.d.ts| 88|新增|NA|类名:ImageVideoKey;<br>方法or属性:USER_COMMENT|@ohos.filemanagement.userFileManager.d.ts| 89|新增|NA|类名:ImageVideoKey;<br>方法or属性:CAMERA_SHOT_KEY|@ohos.filemanagement.userFileManager.d.ts| 90|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:cameraShotKey?: string;|@ohos.filemanagement.userFileManager.d.ts| 91|新增|NA|类名:UserFileManager;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\<number>): void;|@ohos.filemanagement.userFileManager.d.ts| 92|新增|NA|类名:UserFileManager;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\<number>;|@ohos.filemanagement.userFileManager.d.ts| 93|错误码有变化|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 94|错误码有变化|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 95|错误码有变化|类名:PhotoAsset;<br>方法or属性:get(member: string): MemberType;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:get(member: string): MemberType;<br>新版本信息:401,13900020,14000014|@ohos.file.photoAccessHelper.d.ts| 96|错误码有变化|类名:PhotoAsset;<br>方法or属性:set(member: string, value: string): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:set(member: string, value: string): void;<br>新版本信息:401,13900020,14000014|@ohos.file.photoAccessHelper.d.ts| 97|错误码有变化|类名:PhotoAsset;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 98|错误码有变化|类名:Album;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:Album;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 99|错误码有变化|类名:PhotoAsset;<br>方法or属性:commitModify(): Promise\<void>;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:commitModify(): Promise\<void>;<br>新版本信息:401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 100|错误码有变化|类名:Album;<br>方法or属性:commitModify(): Promise\<void>;<br>旧版本信息:401|类名:Album;<br>方法or属性:commitModify(): Promise\<void>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 101|错误码有变化|类名:PhotoAsset;<br>方法or属性:open(mode: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:open(mode: string, callback: AsyncCallback\<number>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 102|错误码有变化|类名:PhotoAsset;<br>方法or属性:open(mode: string): Promise\<number>;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:open(mode: string): Promise\<number>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 103|错误码有变化|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(callback: AsyncCallback\<number>): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(callback: AsyncCallback\<number>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 104|错误码有变化|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(): Promise\<number>;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(): Promise\<number>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 105|错误码有变化|类名:PhotoAsset;<br>方法or属性:close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 106|错误码有变化|类名:PhotoAsset;<br>方法or属性:close(fd: number): Promise\<void>;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:close(fd: number): Promise\<void>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 107|错误码有变化|类名:PhotoAsset;<br>方法or属性:getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 108|错误码有变化|类名:PhotoAsset;<br>方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 109|错误码有变化|类名:PhotoAsset;<br>方法or属性:getThumbnail(size?: image.Size): Promise\<image.PixelMap>;<br>旧版本信息:401|类名:PhotoAsset;<br>方法or属性:getThumbnail(size?: image.Size): Promise\<image.PixelMap>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 110|错误码有变化|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 111|错误码有变化|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean): Promise\<void>;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 112|错误码有变化|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 113|错误码有变化|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;<br>旧版本信息:202,401|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 114|错误码有变化|类名:FetchResult;<br>方法or属性:getCount(): number;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getCount(): number;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 115|错误码有变化|类名:FetchResult;<br>方法or属性:isAfterLast(): boolean;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:isAfterLast(): boolean;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 116|错误码有变化|类名:FetchResult;<br>方法or属性:getFirstObject(callback: AsyncCallback\<T>): void;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getFirstObject(callback: AsyncCallback\<T>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 117|错误码有变化|类名:FetchResult;<br>方法or属性:getFirstObject(): Promise\<T>;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getFirstObject(): Promise\<T>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 118|错误码有变化|类名:FetchResult;<br>方法or属性:getNextObject(callback: AsyncCallback\<T>): void;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getNextObject(callback: AsyncCallback\<T>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 119|错误码有变化|类名:FetchResult;<br>方法or属性:getNextObject(): Promise\<T>;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getNextObject(): Promise\<T>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 120|错误码有变化|类名:FetchResult;<br>方法or属性:getLastObject(callback: AsyncCallback\<T>): void;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getLastObject(callback: AsyncCallback\<T>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 121|错误码有变化|类名:FetchResult;<br>方法or属性:getLastObject(): Promise\<T>;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getLastObject(): Promise\<T>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 122|错误码有变化|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;<br>旧版本信息:401|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 123|错误码有变化|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number): Promise\<T>;<br>旧版本信息:401|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number): Promise\<T>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 124|错误码有变化|类名:FetchResult;<br>方法or属性:getAllObjects(callback: AsyncCallback\<Array\<T>>): void;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getAllObjects(callback: AsyncCallback\<Array\<T>>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 125|错误码有变化|类名:FetchResult;<br>方法or属性:getAllObjects(): Promise\<Array\<T>>;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:getAllObjects(): Promise\<Array\<T>>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 126|错误码有变化|类名:FetchResult;<br>方法or属性:close(): void;<br>旧版本信息:13900042|类名:FetchResult;<br>方法or属性:close(): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 127|错误码有变化|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;<br>旧版本信息:401|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 128|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 129|错误码有变化|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;<br>旧版本信息:401|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 130|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 131|错误码有变化|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 132|错误码有变化|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>旧版本信息:401|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 133|错误码有变化|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>旧版本信息:401|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 134|错误码有变化|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>旧版本信息:401|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 135|错误码有变化|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 136|错误码有变化|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 137|错误码有变化|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 138|错误码有变化|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 139|错误码有变化|类名:Album;<br>方法or属性:setCoverUri(uri: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:setCoverUri(uri: string, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 140|错误码有变化|类名:Album;<br>方法or属性:setCoverUri(uri: string): Promise\<void>;<br>旧版本信息:202,401|类名:Album;<br>方法or属性:setCoverUri(uri: string): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 141|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;<br>旧版本信息:202,401,14000001|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;<br>新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 142|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string): Promise\<PhotoAsset>;<br>旧版本信息:202,401,14000001|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string): Promise\<PhotoAsset>;<br>新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 143|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;<br>旧版本信息:202,401,14000001|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;<br>新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 144|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;<br>旧版本信息:202,401,14000001|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;<br>新版本信息:202,401,13900012,13900020,14000001,14000011|@ohos.file.photoAccessHelper.d.ts| 145|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 146|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 147|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 148|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;<br>新版本信息:202,401,13900012,13900015,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 149|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string): Promise\<Album>;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string): Promise\<Album>;<br>新版本信息:202,401,13900012,13900015,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 150|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 151|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 152|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 153|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 154|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;<br>新版本信息:401,13900012,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 155|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;<br>新版本信息:202,401,13900012,13900020,14000002,14000011|@ohos.file.photoAccessHelper.d.ts| 156|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>): Promise\<void>;<br>旧版本信息:202,401|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>): Promise\<void>;<br>新版本信息:202,401,13900012,13900020,14000002,14000011|@ohos.file.photoAccessHelper.d.ts| 157|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;<br>新版本信息:401,13900012,13900020|@ohos.file.photoAccessHelper.d.ts| 158|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;<br>旧版本信息:401|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;<br>新版本信息:401,13900012,13900020|@ohos.file.photoAccessHelper.d.ts| 159|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>旧版本信息:13900042|类名:PhotoAccessHelper;<br>方法or属性:release(callback: AsyncCallback\<void>): void;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 160|错误码有变化|类名:PhotoAccessHelper;<br>方法or属性:release(): Promise\<void>;<br>旧版本信息:13900042|类名:PhotoAccessHelper;<br>方法or属性:release(): Promise\<void>;<br>新版本信息:401,13900020,14000011|@ohos.file.photoAccessHelper.d.ts| 161|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 162|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 163|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 164|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 165|错误码有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 166|错误码有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 167|错误码有变化|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;<br>旧版本信息:13600001,13900032,401|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;<br>新版本信息:13600001,13900042,401|@ohos.file.storageStatistics.d.ts| 168|错误码有变化|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>旧版本信息:13600001,13900032,401|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>新版本信息:13600001,13900042,401|@ohos.file.storageStatistics.d.ts| 169|错误码有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getSystemSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 170|错误码有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 171|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(): Promise\<StorageStats>;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(): Promise\<StorageStats>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 172|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 173|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number): Promise\<StorageStats>;<br>旧版本信息:13600001,13600009,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number): Promise\<StorageStats>;<br>新版本信息:13600001,13600009,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 174|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:13600001,13600009,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:13600001,13600009,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 175|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 176|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 177|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 178|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 179|错误码有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 180|错误码有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:13600001,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 181|错误码有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600003,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function mount(volumeId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600003,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 182|错误码有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:13600001,13600002,13600003,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:13600001,13600002,13600003,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 183|错误码有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600004,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600004,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 184|错误码有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:13600001,13600002,13600004,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:13600001,13600002,13600004,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 185|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 186|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 187|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 188|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 189|错误码有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 190|错误码有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 191|错误码有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 192|错误码有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 193|错误码有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 194|错误码有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 195|访问级别有变化|类名:sourcefile;<br>方法or属性:declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;<br>旧版本信息:systemapi|类名:sourcefile;<br>方法or属性:declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;<br>新版本信息:|@ohos.file.fs.d.ts| 196|访问级别有变化|类名:WatchEventListener;<br>方法or属性:export interface WatchEventListener<br>旧版本信息:systemapi|类名:WatchEventListener;<br>方法or属性:export interface WatchEventListener<br>新版本信息:|@ohos.file.fs.d.ts| 197|访问级别有变化|类名:WatchEventListener;<br>方法or属性:(event: WatchEvent): void;<br>旧版本信息:systemapi|类名:WatchEventListener;<br>方法or属性:(event: WatchEvent): void;<br>新版本信息:|@ohos.file.fs.d.ts| 198|访问级别有变化|类名:WatchEvent;<br>方法or属性:export interface WatchEvent<br>旧版本信息:systemapi|类名:WatchEvent;<br>方法or属性:export interface WatchEvent<br>新版本信息:|@ohos.file.fs.d.ts| 199|访问级别有变化|类名:WatchEvent;<br>方法or属性:readonly fileName: string;<br>旧版本信息:systemapi|类名:WatchEvent;<br>方法or属性:readonly fileName: string;<br>新版本信息:|@ohos.file.fs.d.ts| 200|访问级别有变化|类名:WatchEvent;<br>方法or属性:readonly event: number;<br>旧版本信息:systemapi|类名:WatchEvent;<br>方法or属性:readonly event: number;<br>新版本信息:|@ohos.file.fs.d.ts| 201|访问级别有变化|类名:WatchEvent;<br>方法or属性:readonly cookie: number;<br>旧版本信息:systemapi|类名:WatchEvent;<br>方法or属性:readonly cookie: number;<br>新版本信息:|@ohos.file.fs.d.ts| 202|访问级别有变化|类名:Watcher;<br>方法or属性:export interface Watcher<br>旧版本信息:systemapi|类名:Watcher;<br>方法or属性:export interface Watcher<br>新版本信息:|@ohos.file.fs.d.ts| 203|访问级别有变化|类名:Watcher;<br>方法or属性:start(): void;<br>旧版本信息:systemapi|类名:Watcher;<br>方法or属性:start(): void;<br>新版本信息:|@ohos.file.fs.d.ts| 204|访问级别有变化|类名:Watcher;<br>方法or属性:stop(): void;<br>旧版本信息:systemapi|类名:Watcher;<br>方法or属性:stop(): void;<br>新版本信息:|@ohos.file.fs.d.ts| 205|权限有变化|类名:photoAccessHelper;<br>方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;<br>旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:photoAccessHelper;<br>方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;<br>新版本信息:|@ohos.file.photoAccessHelper.d.ts| 206|权限有变化|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;<br>旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;<br>新版本信息:|@ohos.file.photoAccessHelper.d.ts| 207|权限有变化|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;<br>旧版本信息:ohos.permission.READ_IMAGEVIDEO|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;<br>新版本信息:|@ohos.file.photoAccessHelper.d.ts| 208|model有变化|类名:FileInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:uri: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 209|model有变化|类名:RootInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:uri: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 210|model有变化|类名:FileInfo;<br>方法or属性:relativePath: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:relativePath: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 211|model有变化|类名:RootInfo;<br>方法or属性:relativePath: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:relativePath: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 212|model有变化|类名:FileInfo;<br>方法or属性:fileName: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:fileName: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 213|model有变化|类名:FileInfo;<br>方法or属性:mode: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mode: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 214|model有变化|类名:FileInfo;<br>方法or属性:size: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:size: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 215|model有变化|类名:FileInfo;<br>方法or属性:mtime: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mtime: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 216|model有变化|类名:FileInfo;<br>方法or属性:mimeType: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mimeType: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 217|model有变化|类名:RootInfo;<br>方法or属性:deviceType: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceType: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 218|model有变化|类名:RootInfo;<br>方法or属性:displayName: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:displayName: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 219|model有变化|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 220|model有变化|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 221|model有变化|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 222|model有变化|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 223|model有变化|类名:FileKey;<br>方法or属性:DISPLAY_NAME = 'display_name'<br>旧版本信息:|类名:FileKey;<br>方法or属性:DISPLAY_NAME = 'display_name'<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 224|model有变化|类名:FileKey;<br>方法or属性:DATE_ADDED = 'date_added'<br>旧版本信息:|类名:FileKey;<br>方法or属性:DATE_ADDED = 'date_added'<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 225|model有变化|类名:FileKey;<br>方法or属性:DATE_MODIFIED = 'date_modified'<br>旧版本信息:|类名:FileKey;<br>方法or属性:DATE_MODIFIED = 'date_modified'<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 226|model有变化|类名:FileKey;<br>方法or属性:RELATIVE_PATH = 'relative_path'<br>旧版本信息:|类名:FileKey;<br>方法or属性:RELATIVE_PATH = 'relative_path'<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 227|model有变化|类名:FileKey;<br>方法or属性:FILE_SIZE = 'size'<br>旧版本信息:|类名:FileKey;<br>方法or属性:FILE_SIZE = 'size'<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 228