1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Class name: SyncState;<br>Method or attribute name: UPLOADING|@ohos.file.cloudSync.d.ts| 4|Added|NA|Class name: SyncState;<br>Method or attribute name: UPLOAD_FAILED|@ohos.file.cloudSync.d.ts| 5|Added|NA|Class name: SyncState;<br>Method or attribute name: DOWNLOADING|@ohos.file.cloudSync.d.ts| 6|Added|NA|Class name: SyncState;<br>Method or attribute name: DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts| 7|Added|NA|Class name: SyncState;<br>Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts| 8|Added|NA|Class name: State;<br>Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts| 9|Added|NA|Class name: SyncState;<br>Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts| 10|Added|NA|Class name: State;<br>Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts| 11|Added|NA|Class name: ErrorType;<br>Method or attribute name: NO_ERROR|@ohos.file.cloudSync.d.ts| 12|Added|NA|Class name: ErrorType;<br>Method or attribute name: NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts| 13|Added|NA|Class name: ErrorType;<br>Method or attribute name: WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts| 14|Added|NA|Class name: ErrorType;<br>Method or attribute name: BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts| 15|Added|NA|Class name: ErrorType;<br>Method or attribute name: BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts| 16|Added|NA|Class name: ErrorType;<br>Method or attribute name: CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts| 17|Added|NA|Class name: ErrorType;<br>Method or attribute name: LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts| 18|Added|NA|Class name: SyncProgress;<br>Method or attribute name: state: SyncState;|@ohos.file.cloudSync.d.ts| 19|Added|NA|Class name: SyncProgress;<br>Method or attribute name: error: ErrorType;|@ohos.file.cloudSync.d.ts| 20|Added|NA|Class name: GallerySync;<br>Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts| 21|Added|NA|Class name: Download;<br>Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts| 22|Added|NA|Class name: GallerySync;<br>Method or attribute name: on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| 23|Added|NA|Class name: GallerySync;<br>Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| 24|Added|NA|Class name: Download;<br>Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| 25|Added|NA|Class name: GallerySync;<br>Method or attribute name: start(): Promise\<void>;|@ohos.file.cloudSync.d.ts| 26|Added|NA|Class name: GallerySync;<br>Method or attribute name: start(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 27|Added|NA|Class name: GallerySync;<br>Method or attribute name: stop(): Promise\<void>;|@ohos.file.cloudSync.d.ts| 28|Added|NA|Class name: GallerySync;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 29|Added|NA|Class name: State;<br>Method or attribute name: RUNNING|@ohos.file.cloudSync.d.ts| 30|Added|NA|Class name: State;<br>Method or attribute name: FAILED|@ohos.file.cloudSync.d.ts| 31|Added|NA|Class name: DownloadProgress;<br>Method or attribute name: state: State;|@ohos.file.cloudSync.d.ts| 32|Added|NA|Class name: DownloadProgress;<br>Method or attribute name: processed: number;|@ohos.file.cloudSync.d.ts| 33|Added|NA|Class name: DownloadProgress;<br>Method or attribute name: size: number;|@ohos.file.cloudSync.d.ts| 34|Added|NA|Class name: DownloadProgress;<br>Method or attribute name: uri: string;|@ohos.file.cloudSync.d.ts| 35|Added|NA|Class name: Download;<br>Method or attribute name: on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| 36|Added|NA|Class name: Download;<br>Method or attribute name: start(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| 37|Added|NA|Class name: Download;<br>Method or attribute name: start(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 38|Added|NA|Class name: Download;<br>Method or attribute name: stop(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| 39|Added|NA|Class name: Download;<br>Method or attribute name: stop(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 40|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 41|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function enableCloud(<br> accountId: string,<br> switches: { [bundleName: string]: boolean },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.file.cloudSyncManager.d.ts| 42|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function disableCloud(accountId: string): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 43|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function disableCloud(accountId: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| 44|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 45|Added|NA|Class name: cloudSyncManager;<br>Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| 46|Added|NA|Class name: Action;<br>Method or attribute name: RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts| 47|Added|NA|Class name: Action;<br>Method or attribute name: CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts| 48|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\<RandomAccessFile>;|@ohos.file.fs.d.ts| 49|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| 50|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| 51|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts| 52|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: readonly fd: number;|@ohos.file.fs.d.ts| 53|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: readonly filePointer: number;|@ohos.file.fs.d.ts| 54|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts| 55|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: close(): void;|@ohos.file.fs.d.ts| 56|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: write(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| 57|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 58|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| 59|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: writeSync(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): number;|@ohos.file.fs.d.ts| 60|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: read(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| 61|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 62|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| 63|Added|NA|Class name: RandomAccessFile;<br>Method or attribute name: readSync(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): number;|@ohos.file.fs.d.ts| 64|Added|NA|Class name: photoAccessHelper;<br>Method or attribute name: function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts| 65|Added|NA|Class name: photoAccessHelper;<br>Method or attribute name: type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts| 66|Added|NA|Class name: PhotoType;<br>Method or attribute name: IMAGE = 1|@ohos.file.photoAccessHelper.d.ts| 67|Added|NA|Class name: PhotoType;<br>Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts| 68|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts| 69|Added|NA|Class name: PhotoSubtype;<br>Method or attribute name: DEFAULT|@ohos.file.photoAccessHelper.d.ts| 70|Added|NA|Class name: PhotoSubtype;<br>Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| 71|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| 72|Added|NA|Class name: PositionType;<br>Method or attribute name: LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts| 73|Added|NA|Class name: PositionType;<br>Method or attribute name: CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts| 74|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: readonly uri: string;|@ohos.file.photoAccessHelper.d.ts| 75|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts| 76|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts| 77|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts| 78|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts| 79|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 80|Added|NA|Class name: Album;<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 81|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 82|Added|NA|Class name: Album;<br>Method or attribute name: commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 83|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: open(mode: string, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 84|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: open(mode: string): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 85|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: getReadOnlyFd(callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 86|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: getReadOnlyFd(): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 87|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: close(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 88|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: close(fd: number): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 89|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| 90|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| 91|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: getThumbnail(size?: image.Size): Promise\<image.PixelMap>;|@ohos.file.photoAccessHelper.d.ts| 92|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 93|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: setFavorite(favoriteState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 94|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 95|Added|NA|Class name: PhotoAsset;<br>Method or attribute name: setHidden(hiddenState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 96|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| 97|Added|NA|Class name: AlbumKeys;<br>Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| 98|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts| 99|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts| 100|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts| 101|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts| 102|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts| 103|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts| 104|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts| 105|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts| 106|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts| 107|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts| 108|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts| 109|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts| 110|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts| 111|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts| 112|Added|NA|Class name: PhotoKeys;<br>Method or attribute name: HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts| 113|Added|NA|Class name: AlbumKeys;<br>Method or attribute name: ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts| 114|Added|NA|Class name: FetchOptions;<br>Method or attribute name: fetchColumns: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 115|Added|NA|Class name: FetchOptions;<br>Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts| 116|Added|NA|Class name: PhotoCreateOptions;<br>Method or attribute name: subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts| 117|Added|NA|Class name: CreateOptions;<br>Method or attribute name: title?: string;|@ohos.file.photoAccessHelper.d.ts| 118|Added|NA|Class name: FetchResult;<br>Method or attribute name: getCount(): number;|@ohos.file.photoAccessHelper.d.ts| 119|Added|NA|Class name: FetchResult;<br>Method or attribute name: isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts| 120|Added|NA|Class name: FetchResult;<br>Method or attribute name: getFirstObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 121|Added|NA|Class name: FetchResult;<br>Method or attribute name: getFirstObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 122|Added|NA|Class name: FetchResult;<br>Method or attribute name: getNextObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 123|Added|NA|Class name: FetchResult;<br>Method or attribute name: getNextObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 124|Added|NA|Class name: FetchResult;<br>Method or attribute name: getLastObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 125|Added|NA|Class name: FetchResult;<br>Method or attribute name: getLastObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 126|Added|NA|Class name: FetchResult;<br>Method or attribute name: getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 127|Added|NA|Class name: FetchResult;<br>Method or attribute name: getObjectByPosition(index: number): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 128|Added|NA|Class name: FetchResult;<br>Method or attribute name: getAllObjects(callback: AsyncCallback\<Array\<T>>): void;|@ohos.file.photoAccessHelper.d.ts| 129|Added|NA|Class name: FetchResult;<br>Method or attribute name: getAllObjects(): Promise\<Array\<T>>;|@ohos.file.photoAccessHelper.d.ts| 130|Added|NA|Class name: FetchResult;<br>Method or attribute name: close(): void;|@ohos.file.photoAccessHelper.d.ts| 131|Added|NA|Class name: AlbumType;<br>Method or attribute name: USER = 0|@ohos.file.photoAccessHelper.d.ts| 132|Added|NA|Class name: AlbumType;<br>Method or attribute name: SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts| 133|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts| 134|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts| 135|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: HIDDEN|@ohos.file.photoAccessHelper.d.ts| 136|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: TRASH|@ohos.file.photoAccessHelper.d.ts| 137|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: CAMERA|@ohos.file.photoAccessHelper.d.ts| 138|Added|NA|Class name: AlbumSubtype;<br>Method or attribute name: ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts| 139|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts| 140|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts| 141|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: albumName: string;|@ohos.file.photoAccessHelper.d.ts| 142|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts| 143|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly count: number;|@ohos.file.photoAccessHelper.d.ts| 144|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts| 145|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| 146|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| 147|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| 148|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| 149|Added|NA|Class name: Album;<br>Method or attribute name: addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 150|Added|NA|Class name: Album;<br>Method or attribute name: addAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 151|Added|NA|Class name: Album;<br>Method or attribute name: removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 152|Added|NA|Class name: Album;<br>Method or attribute name: removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 153|Added|NA|Class name: Album;<br>Method or attribute name: recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 154|Added|NA|Class name: Album;<br>Method or attribute name: recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 155|Added|NA|Class name: Album;<br>Method or attribute name: deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 156|Added|NA|Class name: Album;<br>Method or attribute name: deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 157|Added|NA|Class name: Album;<br>Method or attribute name: setCoverUri(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 158|Added|NA|Class name: Album;<br>Method or attribute name: setCoverUri(uri: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 159|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| 160|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(displayName: string): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| 161|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| 162|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| 163|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 164|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 165|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts| 166|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAlbum(name: string, callback: AsyncCallback\<Album>): void;|@ohos.file.photoAccessHelper.d.ts| 167|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: createAlbum(name: string): Promise\<Album>;|@ohos.file.photoAccessHelper.d.ts| 168|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 169|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 170|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;|@ohos.file.photoAccessHelper.d.ts| 171|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.file.photoAccessHelper.d.ts| 172|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;|@ohos.file.photoAccessHelper.d.ts| 173|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 174|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: deleteAssets(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 175|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| 176|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| 177|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: release(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 178|Added|NA|Class name: PhotoAccessHelper;<br>Method or attribute name: release(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 179|Added|NA|Class name: NotifyType;<br>Method or attribute name: NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts| 180|Added|NA|Class name: NotifyType;<br>Method or attribute name: NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts| 181|Added|NA|Class name: NotifyType;<br>Method or attribute name: NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts| 182|Added|NA|Class name: NotifyType;<br>Method or attribute name: NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts| 183|Added|NA|Class name: NotifyType;<br>Method or attribute name: NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts| 184|Added|NA|Class name: DefaultChangeUri;<br>Method or attribute name: DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts| 185|Added|NA|Class name: DefaultChangeUri;<br>Method or attribute name: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts| 186|Added|NA|Class name: ChangeData;<br>Method or attribute name: type: NotifyType;|@ohos.file.photoAccessHelper.d.ts| 187|Added|NA|Class name: ChangeData;<br>Method or attribute name: uris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 188|Added|NA|Class name: ChangeData;<br>Method or attribute name: extraUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 189|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: |@ohos.document.d.ts| 190|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: |@ohos.document.d.ts| 191|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.document.d.ts| 192|Deprecated version changed|Class name: document;<br>Method or attribute name: declare document<br>Old version information: |Class name: document;<br>Method or attribute name: declare document<br>New version information: 9<br>Substitute API: |@ohos.document.d.ts| 193|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| 194|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| 195|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.close|@ohos.fileio.d.ts| 196|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 197|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 198|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.createStream|@ohos.fileio.d.ts| 199|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.fileio.d.ts| 200|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.fileio.d.ts| 201|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 202|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 203|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts| 204|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 205|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.fdatasync|@ohos.fileio.d.ts| 206|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.fileio.d.ts| 207|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.fileio.d.ts| 208|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| 209|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: ohos.file.hash.hash|@ohos.fileio.d.ts| 210|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: |@ohos.fileio.d.ts| 211|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts| 212|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 213|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 214|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| 215|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 216|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 217|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 218|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 219|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.readText|@ohos.fileio.d.ts| 220|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| 221|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| 222|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.rename|@ohos.fileio.d.ts| 223|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.rmdir|@ohos.fileio.d.ts| 224|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 225|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.symlink|@ohos.fileio.d.ts| 226|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 227|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 228|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.unlink|@ohos.fileio.d.ts| 229|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| 230|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| 231|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>New version information: 10<br>Substitute API: ohos.file.fs.createWatcher|@ohos.fileio.d.ts| 232|Deprecated version changed|Class name: Dir;<br>Method or attribute name: declare interface Dir<br>Old version information: |Class name: Dir;<br>Method or attribute name: declare interface Dir<br>New version information: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 233|Deprecated version changed|Class name: Dir;<br>Method or attribute name: read(callback: AsyncCallback\<Dirent>): void;<br>Old version information: |Class name: Dir;<br>Method or attribute name: read(callback: AsyncCallback\<Dirent>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 234|Deprecated version changed|Class name: Dir;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Dir;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>New version information: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 235|Deprecated version changed|Class name: Watcher;<br>Method or attribute name: declare interface Watcher<br>Old version information: |Class name: Watcher;<br>Method or attribute name: declare interface Watcher<br>New version information: 10<br>Substitute API: ohos.file.fs.Watcher|@ohos.fileio.d.ts| 236|Deprecated version changed|Class name: Watcher;<br>Method or attribute name: stop(): Promise\<void>;<br>Old version information: |Class name: Watcher;<br>Method or attribute name: stop(): Promise\<void>;<br>New version information: 10<br>Substitute API: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| 237|Deprecated version changed|Class name: Watcher;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Watcher;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| 238|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: declare Statfs<br>Old version information: |Class name: Statfs;<br>Method or attribute name: declare Statfs<br>New version information: 9<br>Substitute API: ohos.file.statvfs.statfs|@ohos.statfs.d.ts| 239|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string): Promise\<number>;<br>Old version information: |Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string): Promise\<number>;<br>New version information: 9<br>Substitute API: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| 240|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string): Promise\<number>;<br>Old version information: |Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string): Promise\<number>;<br>New version information: 9<br>Substitute API: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| 241|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: export interface FileResponse<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: export interface FileResponse<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 242|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 243|Deprecated version changed|Class name: FileListOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileListOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 244|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 245|Deprecated version changed|Class name: FileDeleteOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileDeleteOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 246|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 247|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 248|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 249|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 250|Deprecated version changed|Class name: FileAccessOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileAccessOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 251|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 252|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: uri: string;<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: uri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 253|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: length: number;<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: length: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 254|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: lastModifiedTime: number;<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: lastModifiedTime: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 255|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: type: 'dir' \| 'file';<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: type: 'dir' \| 'file';<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 256|Deprecated version changed|Class name: FileResponse;<br>Method or attribute name: subFiles?: Array\<FileResponse>;<br>Old version information: |Class name: FileResponse;<br>Method or attribute name: subFiles?: Array\<FileResponse>;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 257|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: export interface FileMoveOption<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: export interface FileMoveOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 258|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: srcUri: string;<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: srcUri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 259|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: srcUri: string;<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: srcUri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 260|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: dstUri: string;<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: dstUri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 261|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: dstUri: string;<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: dstUri: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 262|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: success?: (uri: string) => void;<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: success?: (uri: string) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 263|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: success?: (uri: string) => void;<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: success?: (uri: string) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 264|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 265|Deprecated version changed|Class name: FileListOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileListOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 266|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 267|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 268|Deprecated version changed|Class name: FileDeleteOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileDeleteOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 269|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 270|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 271|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 272|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 273|Deprecated version changed|Class name: FileAccessOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileAccessOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 274|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 275|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: fail?: (data: string, code: number) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 276|Deprecated version changed|Class name: FileMoveOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileMoveOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 277|Deprecated version changed|Class name: FileListOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileListOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 278|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 279|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 280|Deprecated version changed|Class name: FileDeleteOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileDeleteOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 281|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 282|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 283|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 284|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 285|Deprecated version changed|Class name: FileAccessOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileAccessOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 286|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 287|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: complete?: () => void;<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: complete?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 288|Deprecated version changed|Class name: FileListResponse;<br>Method or attribute name: export interface FileListResponse<br>Old version information: |Class name: FileListResponse;<br>Method or attribute name: export interface FileListResponse<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 289|Deprecated version changed|Class name: FileListResponse;<br>Method or attribute name: fileList: Array\<FileResponse>;<br>Old version information: |Class name: FileListResponse;<br>Method or attribute name: fileList: Array\<FileResponse>;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 290|Deprecated version changed|Class name: FileListOption;<br>Method or attribute name: export interface FileListOption<br>Old version information: |Class name: FileListOption;<br>Method or attribute name: export interface FileListOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 291|Deprecated version changed|Class name: FileListOption;<br>Method or attribute name: success?: (data: FileListResponse) => void;<br>Old version information: |Class name: FileListOption;<br>Method or attribute name: success?: (data: FileListResponse) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 292|Deprecated version changed|Class name: FileCopyOption;<br>Method or attribute name: export interface FileCopyOption<br>Old version information: |Class name: FileCopyOption;<br>Method or attribute name: export interface FileCopyOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 293|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: export interface FileGetOption<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: export interface FileGetOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 294|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: recursive?: boolean;<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: recursive?: boolean;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 295|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: recursive?: boolean;<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: recursive?: boolean;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 296|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: recursive?: boolean;<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: recursive?: boolean;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 297|Deprecated version changed|Class name: FileGetOption;<br>Method or attribute name: success?: (file: FileResponse) => void;<br>Old version information: |Class name: FileGetOption;<br>Method or attribute name: success?: (file: FileResponse) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 298|Deprecated version changed|Class name: FileDeleteOption;<br>Method or attribute name: export interface FileDeleteOption<br>Old version information: |Class name: FileDeleteOption;<br>Method or attribute name: export interface FileDeleteOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 299|Deprecated version changed|Class name: FileDeleteOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileDeleteOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 300|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 301|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 302|Deprecated version changed|Class name: FileAccessOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileAccessOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 303|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 304|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: success?: () => void;<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: success?: () => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 305|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: export interface FileWriteTextOption<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: export interface FileWriteTextOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 306|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: text: string;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: text: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 307|Deprecated version changed|Class name: FileReadTextResponse;<br>Method or attribute name: text: string;<br>Old version information: |Class name: FileReadTextResponse;<br>Method or attribute name: text: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 308|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: encoding?: string;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: encoding?: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 309|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: encoding?: string;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: encoding?: string;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 310|Deprecated version changed|Class name: FileWriteTextOption;<br>Method or attribute name: append?: boolean;<br>Old version information: |Class name: FileWriteTextOption;<br>Method or attribute name: append?: boolean;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 311|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: append?: boolean;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: append?: boolean;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 312|Deprecated version changed|Class name: FileReadTextResponse;<br>Method or attribute name: export interface FileReadTextResponse<br>Old version information: |Class name: FileReadTextResponse;<br>Method or attribute name: export interface FileReadTextResponse<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 313|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: export interface FileReadTextOption<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: export interface FileReadTextOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 314|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: position?: number;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: position?: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 315|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: position?: number;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: position?: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 316|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: position?: number;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: position?: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 317|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: length?: number;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: length?: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 318|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: length?: number;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: length?: number;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 319|Deprecated version changed|Class name: FileReadTextOption;<br>Method or attribute name: success?: (data: FileReadTextResponse) => void;<br>Old version information: |Class name: FileReadTextOption;<br>Method or attribute name: success?: (data: FileReadTextResponse) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 320|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: export interface FileWriteArrayBufferOption<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: export interface FileWriteArrayBufferOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 321|Deprecated version changed|Class name: FileWriteArrayBufferOption;<br>Method or attribute name: buffer: Uint8Array;<br>Old version information: |Class name: FileWriteArrayBufferOption;<br>Method or attribute name: buffer: Uint8Array;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 322|Deprecated version changed|Class name: FileReadArrayBufferResponse;<br>Method or attribute name: buffer: Uint8Array;<br>Old version information: |Class name: FileReadArrayBufferResponse;<br>Method or attribute name: buffer: Uint8Array;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 323|Deprecated version changed|Class name: FileReadArrayBufferResponse;<br>Method or attribute name: export interface FileReadArrayBufferResponse<br>Old version information: |Class name: FileReadArrayBufferResponse;<br>Method or attribute name: export interface FileReadArrayBufferResponse<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 324|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: export interface FileReadArrayBufferOption<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: export interface FileReadArrayBufferOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 325|Deprecated version changed|Class name: FileReadArrayBufferOption;<br>Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;<br>Old version information: |Class name: FileReadArrayBufferOption;<br>Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 326|Deprecated version changed|Class name: FileAccessOption;<br>Method or attribute name: export interface FileAccessOption<br>Old version information: |Class name: FileAccessOption;<br>Method or attribute name: export interface FileAccessOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 327|Deprecated version changed|Class name: FileMkdirOption;<br>Method or attribute name: export interface FileMkdirOption<br>Old version information: |Class name: FileMkdirOption;<br>Method or attribute name: export interface FileMkdirOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 328|Deprecated version changed|Class name: FileRmdirOption;<br>Method or attribute name: export interface FileRmdirOption<br>Old version information: |Class name: FileRmdirOption;<br>Method or attribute name: export interface FileRmdirOption<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 329|Deprecated version changed|Class name: File;<br>Method or attribute name: export default class File<br>Old version information: |Class name: File;<br>Method or attribute name: export default class File<br>New version information: 10<br>Substitute API: |@system.file.d.ts| 330|Deprecated version changed|Class name: File;<br>Method or attribute name: static move(options: FileMoveOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static move(options: FileMoveOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.moveFile|@system.file.d.ts| 331|Deprecated version changed|Class name: File;<br>Method or attribute name: static copy(options: FileCopyOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static copy(options: FileCopyOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.copyFile|@system.file.d.ts| 332|Deprecated version changed|Class name: File;<br>Method or attribute name: static list(options: FileListOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static list(options: FileListOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.listFile|@system.file.d.ts| 333|Deprecated version changed|Class name: File;<br>Method or attribute name: static get(options: FileGetOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static get(options: FileGetOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.stat|@system.file.d.ts| 334|Deprecated version changed|Class name: File;<br>Method or attribute name: static delete(options: FileDeleteOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static delete(options: FileDeleteOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.unlink|@system.file.d.ts| 335|Deprecated version changed|Class name: File;<br>Method or attribute name: static writeText(options: FileWriteTextOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static writeText(options: FileWriteTextOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.write|@system.file.d.ts| 336|Deprecated version changed|Class name: File;<br>Method or attribute name: static readText(options: FileReadTextOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static readText(options: FileReadTextOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.readText|@system.file.d.ts| 337|Deprecated version changed|Class name: File;<br>Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.write|@system.file.d.ts| 338|Deprecated version changed|Class name: File;<br>Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.read|@system.file.d.ts| 339|Deprecated version changed|Class name: File;<br>Method or attribute name: static access(options: FileAccessOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static access(options: FileAccessOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.access|@system.file.d.ts| 340|Deprecated version changed|Class name: File;<br>Method or attribute name: static mkdir(options: FileMkdirOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static mkdir(options: FileMkdirOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.mkdir|@system.file.d.ts| 341|Deprecated version changed|Class name: File;<br>Method or attribute name: static rmdir(options: FileRmdirOption): void;<br>Old version information: |Class name: File;<br>Method or attribute name: static rmdir(options: FileRmdirOption): void;<br>New version information: 10<br>Substitute API: ohos.file.fs.rmdir|@system.file.d.ts| 342|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>New version information: Parameter|@ohos.document.d.ts| 343|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>New version information: Parameter|@ohos.document.d.ts| 344|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.document.d.ts| 345|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| 346|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| 347|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts| 348|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getCurrentBundleStats(): Promise\<BundleStats>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getCurrentBundleStats(): Promise\<BundleStats>;<br>New version information: 401,13600001,13900032|@ohos.file.storageStatistics.d.ts| 349|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| 350|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| 351|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>New version information: 201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts| 352|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| 353|Error code added|Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts| 354|Error code added|Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>New version information: 201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts| 355|Error code added|Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>New version information: 201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| 356|Error code added|Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>New version information: 201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| 357|Error code added|Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| 358|Error code added|Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| 359|Error code added|Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| 360|Error code added|Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts| 361|Error code added|Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts| 362|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 363|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 364|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 365|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 366|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 367|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 368|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 369|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 370|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 371|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 372|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 373|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>New version information: fstat|@ohos.fileio.d.ts| 374|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 375|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 376|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 377|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 378|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 379|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 380|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 381|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 382|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 383|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 384|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 385|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 386|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 387|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 388|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 389|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 390|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 391|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 392|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 393|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 394|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 395|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 396|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 397|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 398|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 399|Error code added|Class name: sourcefile;<br>Method or attribute name: declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>Old version information: |Class name: sourcefile;<br>Method or attribute name: declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 400|Error code added|Class name: Dir;<br>Method or attribute name: read(callback: AsyncCallback\<Dirent>): void;<br>Old version information: |Class name: Dir;<br>Method or attribute name: read(callback: AsyncCallback\<Dirent>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 401|Error code added|Class name: Dir;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Dir;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>New version information: close|@ohos.fileio.d.ts| 402|Error code added|Class name: Stream;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>New version information: close|@ohos.fileio.d.ts| 403|Error code added|Class name: Stream;<br>Method or attribute name: flush(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: flush(callback: AsyncCallback\<void>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 404|Error code added|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 405|Error code added|Class name: Stream;<br>Method or attribute name: write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 406|Error code added|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 407|Error code added|Class name: Stream;<br>Method or attribute name: read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>Old version information: |Class name: Stream;<br>Method or attribute name: read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>New version information: Parameter|@ohos.fileio.d.ts| 408|Error code added|Class name: Watcher;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;<br>Old version information: |Class name: Watcher;<br>Method or attribute name: stop(callback: AsyncCallback\<void>): void;<br>New version information: stop|@ohos.fileio.d.ts| 409|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 410|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 411|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 412|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 413|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 414|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 415|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 416|Access level changed|Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>New version information: systemapi|@ohos.file.storageStatistics.d.ts| 417|Access level changed|Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 418|Access level changed|Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 419|Access level changed|Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 420|Access level changed|Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 421|Access level changed|Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 422|Access level changed|Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 423|Access level changed|Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 424|Access level changed|Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 425|Access level changed|Class name: Volume;<br>Method or attribute name: path: string;<br>Old version information: |Class name: Volume;<br>Method or attribute name: path: string;<br>New version information: systemapi|@ohos.file.volumeManager.d.ts| 426|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 427|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 428|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 429|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 430|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 431|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 432|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 433|Permission changed|Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>Old version information: |Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 434|Permission changed|Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 435|Permission changed|Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;<br>New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 436|Permission changed|Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;<br>New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 437|Permission changed|Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 438|Permission changed|Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;<br>New version information: ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 439|Permission changed|Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 440|Permission changed|Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;<br>New version information: ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| 441|Permission changed|Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>Old version information: |Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;<br>New version information: ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| 442|Permission changed|Class name: fileShare;<br>Method or attribute name: function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>Old version information: |Class name: fileShare;<br>Method or attribute name: function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>New version information: ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| 443|Permission changed|Class name: fileShare;<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>Old version information: |Class name: fileShare;<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>New version information: ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| 444|Type changed|Class name: PhotoSelectOptions;<br>Method or attribute name: MIMEType?: PhotoViewMIMETypes;<br>Old version information: PhotoViewMIMETypes|Class name: PhotoSelectOptions;<br>Method or attribute name: MIMEType?: PhotoViewMIMETypes;<br>New version information: ?PhotoViewMIMETypes|@ohos.file.picker.d.ts| 445|Type changed|Class name: PhotoSelectOptions;<br>Method or attribute name: maxSelectNumber?: number;<br>Old version information: number|Class name: PhotoSelectOptions;<br>Method or attribute name: maxSelectNumber?: number;<br>New version information: ?number|@ohos.file.picker.d.ts| 446|Type changed|Class name: PhotoSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>Old version information: Array\<string>|Class name: PhotoSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>New version information: ?Array\<string>|@ohos.file.picker.d.ts| 447|Type changed|Class name: DocumentSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>Old version information: Array\<string>|Class name: DocumentSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>New version information: ?Array\<string>|@ohos.file.picker.d.ts| 448|Type changed|Class name: AudioSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>Old version information: Array\<string>|Class name: AudioSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;<br>New version information: ?Array\<string>|@ohos.file.picker.d.ts| 449