1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Deleted|Class name: Environment;<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback\<string>): void;|NA|@ohos.environment.d.ts| 4|Deleted|Class name: Environment;<br>Method or attribute name: function getStorageDataDir(): Promise\<string>;|NA|@ohos.environment.d.ts| 5|Deleted|Class name: Environment;<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback\<string>): void;|NA|@ohos.environment.d.ts| 6|Deleted|Class name: Environment;<br>Method or attribute name: function getUserDataDir(): Promise\<string>;|NA|@ohos.environment.d.ts| 7|Deleted|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 8|Deleted|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 9|Deleted|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 10|Deleted|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 11|Added|NA|Class name: Environment;<br>Method or attribute name: function getStorageDataDir(): Promise\<string>;|@ohos.file.environment.d.ts| 12|Added|NA|Class name: Environment;<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback\<string>): void;|@ohos.file.environment.d.ts| 13|Added|NA|Class name: Environment;<br>Method or attribute name: function getUserDataDir(): Promise\<string>;|@ohos.file.environment.d.ts| 14|Added|NA|Class name: Environment;<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback\<string>): void;|@ohos.file.environment.d.ts| 15|Added|NA|Class name: fileAccess;<br>Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback\<Array\<Want>>): void;|@ohos.file.fileAccess.d.ts| 16|Added|NA|Class name: fileAccess;<br>Method or attribute name: function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;|@ohos.file.fileAccess.d.ts| 17|Added|NA|Class name: fileAccess;<br>Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|@ohos.file.fileAccess.d.ts| 18|Added|NA|Class name: fileAccess;<br>Method or attribute name: function createFileAccessHelper(context: Context, wants: Array\<Want>): FileAccessHelper;|@ohos.file.fileAccess.d.ts| 19|Added|NA|Class name: FileInfo;<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| 20|Added|NA|Class name: RootInfo;<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| 21|Added|NA|Class name: FileInfo;<br>Method or attribute name: fileName: string;|@ohos.file.fileAccess.d.ts| 22|Added|NA|Class name: FileInfo;<br>Method or attribute name: mode: number;|@ohos.file.fileAccess.d.ts| 23|Added|NA|Class name: FileInfo;<br>Method or attribute name: size: number;|@ohos.file.fileAccess.d.ts| 24|Added|NA|Class name: FileInfo;<br>Method or attribute name: mtime: number;|@ohos.file.fileAccess.d.ts| 25|Added|NA|Class name: FileInfo;<br>Method or attribute name: mimeType: string;|@ohos.file.fileAccess.d.ts| 26|Added|NA|Class name: FileInfo;<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 27|Added|NA|Class name: RootInfo;<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 28|Added|NA|Class name: FileInfo;<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 29|Added|NA|Class name: RootInfo;<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 30|Added|NA|Class name: FileIterator;<br>Method or attribute name: next(): {value: FileInfo, done: boolean}|@ohos.file.fileAccess.d.ts| 31|Added|NA|Class name: RootInfo;<br>Method or attribute name: deviceType: number;|@ohos.file.fileAccess.d.ts| 32|Added|NA|Class name: RootInfo;<br>Method or attribute name: displayName: string;|@ohos.file.fileAccess.d.ts| 33|Added|NA|Class name: RootInfo;<br>Method or attribute name: deviceFlags: number;|@ohos.file.fileAccess.d.ts| 34|Added|NA|Class name: RootIterator;<br>Method or attribute name: next(): {value: RootInfo, done: boolean}|@ohos.file.fileAccess.d.ts| 35|Added|NA|Class name: OPENFLAGS;<br>Method or attribute name: READ = 0o0|@ohos.file.fileAccess.d.ts| 36|Added|NA|Class name: OPENFLAGS;<br>Method or attribute name: WRITE = 0o1|@ohos.file.fileAccess.d.ts| 37|Added|NA|Class name: OPENFLAGS;<br>Method or attribute name: WRITE_READ = 0o2|@ohos.file.fileAccess.d.ts| 38|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise\<number>;|@ohos.file.fileAccess.d.ts| 39|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>) : void;|@ohos.file.fileAccess.d.ts| 40|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: createFile(uri: string, displayName: string) : Promise\<string>;|@ohos.file.fileAccess.d.ts| 41|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback\<string>) : void;|@ohos.file.fileAccess.d.ts| 42|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise\<string>;|@ohos.file.fileAccess.d.ts| 43|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>) : void;|@ohos.file.fileAccess.d.ts| 44|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: delete(uri: string) : Promise\<number>;|@ohos.file.fileAccess.d.ts| 45|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: delete(uri: string, callback: AsyncCallback\<number>) : void;|@ohos.file.fileAccess.d.ts| 46|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: move(sourceFile: string, destFile: string) : Promise\<string>;|@ohos.file.fileAccess.d.ts| 47|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>) : void;|@ohos.file.fileAccess.d.ts| 48|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: rename(uri: string, displayName: string) : Promise\<string>;|@ohos.file.fileAccess.d.ts| 49|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback\<string>) : void;|@ohos.file.fileAccess.d.ts| 50|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: access(sourceFileUri: string) : Promise\<boolean>;|@ohos.file.fileAccess.d.ts| 51|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback\<boolean>) : void;|@ohos.file.fileAccess.d.ts| 52|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: getRoots(): Promise\<RootIterator>;|@ohos.file.fileAccess.d.ts| 53|Added|NA|Class name: FileAccessHelper;<br>Method or attribute name: getRoots(callback:AsyncCallback\<RootIterator>) : void;|@ohos.file.fileAccess.d.ts| 54|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_LOCAL_DISK = 1|@ohos.file.fileExtensionInfo.d.ts| 55|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_SHARED_DISK|@ohos.file.fileExtensionInfo.d.ts| 56|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_SHARED_TERMINAL|@ohos.file.fileExtensionInfo.d.ts| 57|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|@ohos.file.fileExtensionInfo.d.ts| 58|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_EXTERNAL_MTP|@ohos.file.fileExtensionInfo.d.ts| 59|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_EXTERNAL_USB|@ohos.file.fileExtensionInfo.d.ts| 60|Added|NA|Class name: DeviceType;<br>Method or attribute name: DEVICE_EXTERNAL_CLOUD|@ohos.file.fileExtensionInfo.d.ts| 61|Added|NA|Class name: fileUri;<br>Method or attribute name: function getUriFromPath(path: string): string;|@ohos.file.fileuri.d.ts| 62|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string): Promise\<boolean>;|@ohos.file.fs.d.ts| 63|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<boolean>): void;|@ohos.file.fs.d.ts| 64|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function accessSync(path: string): boolean;|@ohos.file.fs.d.ts| 65|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function close(file: number \| File): Promise\<void>;|@ohos.file.fs.d.ts| 66|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function close(file: number \| File, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 67|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function closeSync(fd: number \| File): void;|@ohos.file.fs.d.ts| 68|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;|@ohos.file.fs.d.ts| 69|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 70|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 71|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;|@ohos.file.fs.d.ts| 72|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string): Promise\<Stream>;|@ohos.file.fs.d.ts| 73|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;|@ohos.file.fs.d.ts| 74|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;|@ohos.file.fs.d.ts| 75|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number): Promise\<void>;|@ohos.file.fs.d.ts| 76|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 77|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdatasyncSync(fd: number): void;|@ohos.file.fs.d.ts| 78|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise\<Stream>;|@ohos.file.fs.d.ts| 79|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;|@ohos.file.fs.d.ts| 80|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;|@ohos.file.fs.d.ts| 81|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number): Promise\<void>;|@ohos.file.fs.d.ts| 82|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 83|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function fsyncSync(fd: number): void;|@ohos.file.fs.d.ts| 84|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function listFile(path: string, options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}): Promise\<string[]>;|@ohos.file.fs.d.ts| 85|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function listFile(path: string, callback: AsyncCallback\<string[]>): void;|@ohos.file.fs.d.ts| 86|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function listFile(path: string, options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}, callback: AsyncCallback\<string[]>): void;|@ohos.file.fs.d.ts| 87|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function listFileSync(path: string, options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}): string[];|@ohos.file.fs.d.ts| 88|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string): Promise\<Stat>;|@ohos.file.fs.d.ts| 89|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;|@ohos.file.fs.d.ts| 90|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function lstatSync(path: string): Stat;|@ohos.file.fs.d.ts| 91|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string): Promise\<void>;|@ohos.file.fs.d.ts| 92|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 93|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdirSync(path: string): void;|@ohos.file.fs.d.ts| 94|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string): Promise\<string>;|@ohos.file.fs.d.ts| 95|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;|@ohos.file.fs.d.ts| 96|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function mkdtempSync(prefix: string): string;|@ohos.file.fs.d.ts| 97|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;|@ohos.file.fs.d.ts| 98|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 99|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 100|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 101|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, mode?: number): Promise\<File>;|@ohos.file.fs.d.ts| 102|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<File>): void;|@ohos.file.fs.d.ts| 103|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback\<File>): void;|@ohos.file.fs.d.ts| 104|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function openSync(path: string, mode?: number): File;|@ohos.file.fs.d.ts| 105|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br>}): Promise\<number>;|@ohos.file.fs.d.ts| 106|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 107|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br>}, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 108|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br>}): number;|@ohos.file.fs.d.ts| 109|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise\<string>;|@ohos.file.fs.d.ts| 110|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback\<string>): void;|@ohos.file.fs.d.ts| 111|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<string>): void;|@ohos.file.fs.d.ts| 112|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function readTextSync(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): string;|@ohos.file.fs.d.ts| 113|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise\<void>;|@ohos.file.fs.d.ts| 114|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 115|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;|@ohos.file.fs.d.ts| 116|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string): Promise\<void>;|@ohos.file.fs.d.ts| 117|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 118|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function rmdirSync(path: string): void;|@ohos.file.fs.d.ts| 119|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function stat(file: string \| number): Promise\<Stat>;|@ohos.file.fs.d.ts| 120|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function stat(file: string \| number, callback: AsyncCallback\<Stat>): void;|@ohos.file.fs.d.ts| 121|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function statSync(file: string \| number): Stat;|@ohos.file.fs.d.ts| 122|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string): Promise\<void>;|@ohos.file.fs.d.ts| 123|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 124|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;|@ohos.file.fs.d.ts| 125|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function truncate(file: string \| number, len?: number): Promise\<void>;|@ohos.file.fs.d.ts| 126|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function truncate(file: string \| number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 127|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function truncate(file: string \| number, len: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 128|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function truncateSync(file: string \| number, len?: number): void;|@ohos.file.fs.d.ts| 129|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string): Promise\<void>;|@ohos.file.fs.d.ts| 130|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 131|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function unlinkSync(path: string): void;|@ohos.file.fs.d.ts| 132|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise\<number>;|@ohos.file.fs.d.ts| 133|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 134|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 135|Added|NA|Class name: sourcefile;<br>Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): number;|@ohos.file.fs.d.ts| 136|Added|NA|Class name: sourcefile;<br>Method or attribute name: export type Filter = {<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> suffix?: Array\<string>;<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type {number}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> fileSizeOver?: number;<br> /**<br> * @type {number}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type {boolean}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> excludeMedia?: boolean;<br>}|@ohos.file.fs.d.ts| 137|Added|NA|Class name: File;<br>Method or attribute name: readonly fd: number;|@ohos.file.fs.d.ts| 138|Added|NA|Class name: File;<br>Method or attribute name: lock(exclusive?: boolean): Promise\<void>;|@ohos.file.fs.d.ts| 139|Added|NA|Class name: File;<br>Method or attribute name: lock(callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 140|Added|NA|Class name: File;<br>Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 141|Added|NA|Class name: File;<br>Method or attribute name: tryLock(exclusive?: boolean): void;|@ohos.file.fs.d.ts| 142|Added|NA|Class name: File;<br>Method or attribute name: unlock(): void;|@ohos.file.fs.d.ts| 143|Added|NA|Class name: Stat;<br>Method or attribute name: readonly ino: bigint;|@ohos.file.fs.d.ts| 144|Added|NA|Class name: Stat;<br>Method or attribute name: readonly mode: number;|@ohos.file.fs.d.ts| 145|Added|NA|Class name: Stat;<br>Method or attribute name: readonly uid: number;|@ohos.file.fs.d.ts| 146|Added|NA|Class name: Stat;<br>Method or attribute name: readonly gid: number;|@ohos.file.fs.d.ts| 147|Added|NA|Class name: Stat;<br>Method or attribute name: readonly size: number;|@ohos.file.fs.d.ts| 148|Added|NA|Class name: Stat;<br>Method or attribute name: readonly atime: number;|@ohos.file.fs.d.ts| 149|Added|NA|Class name: Stat;<br>Method or attribute name: readonly mtime: number;|@ohos.file.fs.d.ts| 150|Added|NA|Class name: Stat;<br>Method or attribute name: readonly ctime: number;|@ohos.file.fs.d.ts| 151|Added|NA|Class name: Stat;<br>Method or attribute name: isBlockDevice(): boolean;|@ohos.file.fs.d.ts| 152|Added|NA|Class name: Stat;<br>Method or attribute name: isCharacterDevice(): boolean;|@ohos.file.fs.d.ts| 153|Added|NA|Class name: Stat;<br>Method or attribute name: isDirectory(): boolean;|@ohos.file.fs.d.ts| 154|Added|NA|Class name: Stat;<br>Method or attribute name: isFIFO(): boolean;|@ohos.file.fs.d.ts| 155|Added|NA|Class name: Stat;<br>Method or attribute name: isFile(): boolean;|@ohos.file.fs.d.ts| 156|Added|NA|Class name: Stat;<br>Method or attribute name: isSocket(): boolean;|@ohos.file.fs.d.ts| 157|Added|NA|Class name: Stat;<br>Method or attribute name: isSymbolicLink(): boolean;|@ohos.file.fs.d.ts| 158|Added|NA|Class name: Stream;<br>Method or attribute name: close(): Promise\<void>;|@ohos.file.fs.d.ts| 159|Added|NA|Class name: Stream;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 160|Added|NA|Class name: Stream;<br>Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts| 161|Added|NA|Class name: Stream;<br>Method or attribute name: flush(): Promise\<void>;|@ohos.file.fs.d.ts| 162|Added|NA|Class name: Stream;<br>Method or attribute name: flush(callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 163|Added|NA|Class name: Stream;<br>Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts| 164|Added|NA|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): Promise\<number>;|@ohos.file.fs.d.ts| 165|Added|NA|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 166|Added|NA|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 167|Added|NA|Class name: Stream;<br>Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }): number;|@ohos.file.fs.d.ts| 168|Added|NA|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): Promise\<number>;|@ohos.file.fs.d.ts| 169|Added|NA|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 170|Added|NA|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br> }, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 171|Added|NA|Class name: Stream;<br>Method or attribute name: readSync(buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> }): number;|@ohos.file.fs.d.ts| 172|Added|NA|Class name: hash;<br>Method or attribute name: function hash(path: string, algorithm: string): Promise\<string>;|@ohos.file.hash.d.ts| 173|Added|NA|Class name: hash;<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;|@ohos.file.hash.d.ts| 174|Added|NA|Class name: PhotoViewMIMETypes;<br>Method or attribute name: IMAGE_TYPE = "image/*"|@ohos.file.picker.d.ts| 175|Added|NA|Class name: PhotoViewMIMETypes;<br>Method or attribute name: VIDEO_TYPE = "video/*"|@ohos.file.picker.d.ts| 176|Added|NA|Class name: PhotoViewMIMETypes;<br>Method or attribute name: IMAGE_VIDEO_TYPE = "*/*"|@ohos.file.picker.d.ts| 177|Added|NA|Class name: PhotoSelectOptions;<br>Method or attribute name: MIMEType?: PhotoViewMIMETypes;|@ohos.file.picker.d.ts| 178|Added|NA|Class name: PhotoSelectOptions;<br>Method or attribute name: maxSelectNumber?: number;|@ohos.file.picker.d.ts| 179|Added|NA|Class name: PhotoSelectResult;<br>Method or attribute name: photoUris: Array\<string>;|@ohos.file.picker.d.ts| 180|Added|NA|Class name: PhotoSelectResult;<br>Method or attribute name: isOriginalPhoto: boolean;|@ohos.file.picker.d.ts| 181|Added|NA|Class name: PhotoSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 182|Added|NA|Class name: DocumentSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 183|Added|NA|Class name: AudioSaveOptions;<br>Method or attribute name: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 184|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: select(option?: PhotoSelectOptions) : Promise\<PhotoSelectResult>;|@ohos.file.picker.d.ts| 185|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback\<PhotoSelectResult>) : void;|@ohos.file.picker.d.ts| 186|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: select(callback: AsyncCallback\<PhotoSelectResult>) : void;|@ohos.file.picker.d.ts| 187|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: save(option?: PhotoSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 188|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: save(option: PhotoSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 189|Added|NA|Class name: PhotoViewPicker;<br>Method or attribute name: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 190|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 191|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 192|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: select(option?: DocumentSelectOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 193|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: select(option: DocumentSelectOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 194|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: select(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 195|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: select(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 196|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: save(option?: DocumentSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 197|Added|NA|Class name: DocumentViewPicker;<br>Method or attribute name: save(option: DocumentSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 198|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: select(option?: AudioSelectOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 199|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: select(option: AudioSelectOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 200|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: save(option?: AudioSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 201|Added|NA|Class name: AudioViewPicker;<br>Method or attribute name: save(option: AudioSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 202|Added|NA|Class name: securityLabel;<br>Method or attribute name: type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 203|Added|NA|Class name: securityLabel;<br>Method or attribute name: function setSecurityLabel(path: string, type: DataLevel): Promise\<void>;|@ohos.file.securityLabel.d.ts| 204|Added|NA|Class name: securityLabel;<br>Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback\<void>): void;|@ohos.file.securityLabel.d.ts| 205|Added|NA|Class name: securityLabel;<br>Method or attribute name: function setSecurityLabelSync(path: string, type: DataLevel): void;|@ohos.file.securityLabel.d.ts| 206|Added|NA|Class name: securityLabel;<br>Method or attribute name: function getSecurityLabel(path: string): Promise\<string>;|@ohos.file.securityLabel.d.ts| 207|Added|NA|Class name: securityLabel;<br>Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback\<string>): void;|@ohos.file.securityLabel.d.ts| 208|Added|NA|Class name: securityLabel;<br>Method or attribute name: function getSecurityLabelSync(path: string): string;|@ohos.file.securityLabel.d.ts| 209|Added|NA|Class name: statfs;<br>Method or attribute name: function getFreeSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 210|Added|NA|Class name: statfs;<br>Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 211|Added|NA|Class name: statfs;<br>Method or attribute name: function getTotalSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 212|Added|NA|Class name: statfs;<br>Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 213|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 214|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 215|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 216|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 217|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;|@ohos.file.storageStatistics.d.ts| 218|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getBundleStats(packageName: string): Promise\<BundleStats>;|@ohos.file.storageStatistics.d.ts| 219|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;|@ohos.file.storageStatistics.d.ts| 220|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getCurrentBundleStats(): Promise\<BundleStats>;|@ohos.file.storageStatistics.d.ts| 221|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 222|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getSystemSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 223|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(): Promise\<StorageStats>;|@ohos.file.storageStatistics.d.ts| 224|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;|@ohos.file.storageStatistics.d.ts| 225|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number): Promise\<StorageStats>;|@ohos.file.storageStatistics.d.ts| 226|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;|@ohos.file.storageStatistics.d.ts| 227|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 228|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getTotalSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 229|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 230|Added|NA|Class name: storageStatistics;<br>Method or attribute name: function getFreeSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 231|Added|NA|Class name: BundleStats;<br>Method or attribute name: appSize: number;|@ohos.file.storageStatistics.d.ts| 232|Added|NA|Class name: BundleStats;<br>Method or attribute name: cacheSize: number;|@ohos.file.storageStatistics.d.ts| 233|Added|NA|Class name: BundleStats;<br>Method or attribute name: dataSize: number;|@ohos.file.storageStatistics.d.ts| 234|Added|NA|Class name: StorageStats;<br>Method or attribute name: total: number;|@ohos.file.storageStatistics.d.ts| 235|Added|NA|Class name: StorageStats;<br>Method or attribute name: audio: number;|@ohos.file.storageStatistics.d.ts| 236|Added|NA|Class name: StorageStats;<br>Method or attribute name: video: number;|@ohos.file.storageStatistics.d.ts| 237|Added|NA|Class name: StorageStats;<br>Method or attribute name: image: number;|@ohos.file.storageStatistics.d.ts| 238|Added|NA|Class name: StorageStats;<br>Method or attribute name: file: number;|@ohos.file.storageStatistics.d.ts| 239|Added|NA|Class name: StorageStats;<br>Method or attribute name: app: number;|@ohos.file.storageStatistics.d.ts| 240|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;|@ohos.file.volumeManager.d.ts| 241|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getAllVolumes(): Promise\<Array\<Volume>>;|@ohos.file.volumeManager.d.ts| 242|Added|NA|Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 243|Added|NA|Class name: volumeManager;<br>Method or attribute name: function mount(volumeId: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 244|Added|NA|Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 245|Added|NA|Class name: volumeManager;<br>Method or attribute name: function unmount(volumeId: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 246|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;|@ohos.file.volumeManager.d.ts| 247|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getVolumeByUuid(uuid: string): Promise\<Volume>;|@ohos.file.volumeManager.d.ts| 248|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;|@ohos.file.volumeManager.d.ts| 249|Added|NA|Class name: volumeManager;<br>Method or attribute name: function getVolumeById(volumeId: string): Promise\<Volume>;|@ohos.file.volumeManager.d.ts| 250|Added|NA|Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 251|Added|NA|Class name: volumeManager;<br>Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 252|Added|NA|Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 253|Added|NA|Class name: volumeManager;<br>Method or attribute name: function format(volumeId: string, fsType: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 254|Added|NA|Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 255|Added|NA|Class name: volumeManager;<br>Method or attribute name: function partition(diskId: string, type: number): Promise\<void>;|@ohos.file.volumeManager.d.ts| 256|Added|NA|Class name: Volume;<br>Method or attribute name: id: string;|@ohos.file.volumeManager.d.ts| 257|Added|NA|Class name: Volume;<br>Method or attribute name: uuid: string;|@ohos.file.volumeManager.d.ts| 258|Added|NA|Class name: Volume;<br>Method or attribute name: diskId: string;|@ohos.file.volumeManager.d.ts| 259|Added|NA|Class name: Volume;<br>Method or attribute name: description: string;|@ohos.file.volumeManager.d.ts| 260|Added|NA|Class name: Volume;<br>Method or attribute name: removable: boolean;|@ohos.file.volumeManager.d.ts| 261|Added|NA|Class name: Volume;<br>Method or attribute name: state: number;|@ohos.file.volumeManager.d.ts| 262|Added|NA|Class name: Volume;<br>Method or attribute name: path: string;|@ohos.file.volumeManager.d.ts| 263|Added|NA|Class name: sourcefile;<br>Method or attribute name: export type Filter = {<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> suffix: Array\<string>;<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type {Array\<string>}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type {number}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> fileSizeOver?: number;<br> /**<br> * @type {number}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type {boolean}<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @systemapi<br> * @since 9<br> * @readonly<br> */<br> excludeMedia?: boolean;<br>}|@ohos.fileio.d.ts| 264|Added|NA|Class name: userFileManager;<br>Method or attribute name: function getUserFileMgr(context: Context): UserFileManager;|@ohos.filemanagement.userFileManager.d.ts| 265|Added|NA|Class name: userFileManager;<br>Method or attribute name: type MemberType = number \| string \| boolean;|@ohos.filemanagement.userFileManager.d.ts| 266|Added|NA|Class name: userFileManager;<br>Method or attribute name: type ChangeEvent = 'deviceChange' \| 'albumChange' \| 'imageChange' \| 'audioChange' \| 'videoChange' \| 'remoteFileChange';|@ohos.filemanagement.userFileManager.d.ts| 267|Added|NA|Class name: FileType;<br>Method or attribute name: IMAGE = 1|@ohos.filemanagement.userFileManager.d.ts| 268|Added|NA|Class name: FileType;<br>Method or attribute name: VIDEO|@ohos.filemanagement.userFileManager.d.ts| 269|Added|NA|Class name: FileType;<br>Method or attribute name: AUDIO|@ohos.filemanagement.userFileManager.d.ts| 270|Added|NA|Class name: FileAsset;<br>Method or attribute name: readonly uri: string;|@ohos.filemanagement.userFileManager.d.ts| 271|Added|NA|Class name: FileAsset;<br>Method or attribute name: readonly fileType: FileType;|@ohos.filemanagement.userFileManager.d.ts| 272|Added|NA|Class name: FileAsset;<br>Method or attribute name: displayName: string;|@ohos.filemanagement.userFileManager.d.ts| 273|Added|NA|Class name: FileAsset;<br>Method or attribute name: get(member: string): MemberType;|@ohos.filemanagement.userFileManager.d.ts| 274|Added|NA|Class name: FileAsset;<br>Method or attribute name: set(member: string, value: string): void;|@ohos.filemanagement.userFileManager.d.ts| 275|Added|NA|Class name: FileAsset;<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 276|Added|NA|Class name: Album;<br>Method or attribute name: commitModify(callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 277|Added|NA|Class name: FileAsset;<br>Method or attribute name: commitModify(): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 278|Added|NA|Class name: Album;<br>Method or attribute name: commitModify(): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 279|Added|NA|Class name: FileAsset;<br>Method or attribute name: open(mode: string, callback: AsyncCallback\<number>): void;|@ohos.filemanagement.userFileManager.d.ts| 280|Added|NA|Class name: FileAsset;<br>Method or attribute name: open(mode: string): Promise\<number>;|@ohos.filemanagement.userFileManager.d.ts| 281|Added|NA|Class name: FileAsset;<br>Method or attribute name: close(fd: number, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 282|Added|NA|Class name: FileAsset;<br>Method or attribute name: close(fd: number): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 283|Added|NA|Class name: FileAsset;<br>Method or attribute name: getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;|@ohos.filemanagement.userFileManager.d.ts| 284|Added|NA|Class name: FileAsset;<br>Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|@ohos.filemanagement.userFileManager.d.ts| 285|Added|NA|Class name: FileAsset;<br>Method or attribute name: getThumbnail(size?: image.Size): Promise\<image.PixelMap>;|@ohos.filemanagement.userFileManager.d.ts| 286|Added|NA|Class name: FileAsset;<br>Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 287|Added|NA|Class name: FileAsset;<br>Method or attribute name: favorite(isFavorite: boolean): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 288|Added|NA|Class name: AudioKey;<br>Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts| 289|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts| 290|Added|NA|Class name: AlbumKey;<br>Method or attribute name: URI|@ohos.filemanagement.userFileManager.d.ts| 291|Added|NA|Class name: AudioKey;<br>Method or attribute name: DISPLAY_NAME|@ohos.filemanagement.userFileManager.d.ts| 292|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: DISPLAY_NAME|@ohos.filemanagement.userFileManager.d.ts| 293|Added|NA|Class name: AudioKey;<br>Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts| 294|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts| 295|Added|NA|Class name: AlbumKey;<br>Method or attribute name: DATE_ADDED|@ohos.filemanagement.userFileManager.d.ts| 296|Added|NA|Class name: AudioKey;<br>Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts| 297|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts| 298|Added|NA|Class name: AlbumKey;<br>Method or attribute name: DATE_MODIFIED|@ohos.filemanagement.userFileManager.d.ts| 299|Added|NA|Class name: AudioKey;<br>Method or attribute name: TITLE|@ohos.filemanagement.userFileManager.d.ts| 300|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: TITLE|@ohos.filemanagement.userFileManager.d.ts| 301|Added|NA|Class name: AudioKey;<br>Method or attribute name: ARTIST|@ohos.filemanagement.userFileManager.d.ts| 302|Added|NA|Class name: AudioKey;<br>Method or attribute name: AUDIOALBUM|@ohos.filemanagement.userFileManager.d.ts| 303|Added|NA|Class name: AudioKey;<br>Method or attribute name: DURATION|@ohos.filemanagement.userFileManager.d.ts| 304|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: DURATION|@ohos.filemanagement.userFileManager.d.ts| 305|Added|NA|Class name: AudioKey;<br>Method or attribute name: FAVORITE|@ohos.filemanagement.userFileManager.d.ts| 306|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: FAVORITE|@ohos.filemanagement.userFileManager.d.ts| 307|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: FILE_TYPE|@ohos.filemanagement.userFileManager.d.ts| 308|Added|NA|Class name: AlbumKey;<br>Method or attribute name: FILE_TYPE|@ohos.filemanagement.userFileManager.d.ts| 309|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: WIDTH|@ohos.filemanagement.userFileManager.d.ts| 310|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: HEIGHT|@ohos.filemanagement.userFileManager.d.ts| 311|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: DATE_TAKEN|@ohos.filemanagement.userFileManager.d.ts| 312|Added|NA|Class name: ImageVideoKey;<br>Method or attribute name: ORIENTATION|@ohos.filemanagement.userFileManager.d.ts| 313|Added|NA|Class name: AlbumKey;<br>Method or attribute name: ALBUM_NAME|@ohos.filemanagement.userFileManager.d.ts| 314|Added|NA|Class name: FetchOptions;<br>Method or attribute name: fetchColumns: Array\<string>;|@ohos.filemanagement.userFileManager.d.ts| 315|Added|NA|Class name: FetchOptions;<br>Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.filemanagement.userFileManager.d.ts| 316|Added|NA|Class name: AlbumFetchOptions;<br>Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.filemanagement.userFileManager.d.ts| 317|Added|NA|Class name: FetchResult;<br>Method or attribute name: getCount(): number;|@ohos.filemanagement.userFileManager.d.ts| 318|Added|NA|Class name: FetchResult;<br>Method or attribute name: isAfterLast(): boolean;|@ohos.filemanagement.userFileManager.d.ts| 319|Added|NA|Class name: FetchResult;<br>Method or attribute name: close(): void;|@ohos.filemanagement.userFileManager.d.ts| 320|Added|NA|Class name: FetchResult;<br>Method or attribute name: getFirstObject(callback: AsyncCallback\<T>): void;|@ohos.filemanagement.userFileManager.d.ts| 321|Added|NA|Class name: FetchResult;<br>Method or attribute name: getFirstObject(): Promise\<T>;|@ohos.filemanagement.userFileManager.d.ts| 322|Added|NA|Class name: FetchResult;<br>Method or attribute name: getNextObject(callback: AsyncCallback\<T>): void;|@ohos.filemanagement.userFileManager.d.ts| 323|Added|NA|Class name: FetchResult;<br>Method or attribute name: getNextObject(): Promise\<T>;|@ohos.filemanagement.userFileManager.d.ts| 324|Added|NA|Class name: FetchResult;<br>Method or attribute name: getLastObject(callback: AsyncCallback\<T>): void;|@ohos.filemanagement.userFileManager.d.ts| 325|Added|NA|Class name: FetchResult;<br>Method or attribute name: getLastObject(): Promise\<T>;|@ohos.filemanagement.userFileManager.d.ts| 326|Added|NA|Class name: FetchResult;<br>Method or attribute name: getPositionObject(index: number, callback: AsyncCallback\<T>): void;|@ohos.filemanagement.userFileManager.d.ts| 327|Added|NA|Class name: FetchResult;<br>Method or attribute name: getPositionObject(index: number): Promise\<T>;|@ohos.filemanagement.userFileManager.d.ts| 328|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: albumName: string;|@ohos.filemanagement.userFileManager.d.ts| 329|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly albumUri: string;|@ohos.filemanagement.userFileManager.d.ts| 330|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly dateModified: number;|@ohos.filemanagement.userFileManager.d.ts| 331|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly count: number;|@ohos.filemanagement.userFileManager.d.ts| 332|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: readonly coverUri: string;|@ohos.filemanagement.userFileManager.d.ts| 333|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<FileAsset>>): void;|@ohos.filemanagement.userFileManager.d.ts| 334|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<FileAsset>>): void;|@ohos.filemanagement.userFileManager.d.ts| 335|Added|NA|Class name: AbsAlbum;<br>Method or attribute name: getPhotoAssets(options: FetchOptions): Promise\<FetchResult\<FileAsset>>;|@ohos.filemanagement.userFileManager.d.ts| 336|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPhotoAssets(options: FetchOptions): Promise\<FetchResult\<FileAsset>>;|@ohos.filemanagement.userFileManager.d.ts| 337|Added|NA|Class name: UserFileManager;<br>Method or attribute name: createPhotoAsset(displayName: string, albumUri: string, callback: AsyncCallback\<FileAsset>): void;|@ohos.filemanagement.userFileManager.d.ts| 338|Added|NA|Class name: UserFileManager;<br>Method or attribute name: createPhotoAsset(displayName: string, callback: AsyncCallback\<FileAsset>): void;|@ohos.filemanagement.userFileManager.d.ts| 339|Added|NA|Class name: UserFileManager;<br>Method or attribute name: createPhotoAsset(displayName: string, albumUri?: string): Promise\<FileAsset>;|@ohos.filemanagement.userFileManager.d.ts| 340|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.filemanagement.userFileManager.d.ts| 341|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions): Promise\<FetchResult\<Album>>;|@ohos.filemanagement.userFileManager.d.ts| 342|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPrivateAlbum(type: PrivateAlbumType, callback: AsyncCallback\<FetchResult\<PrivateAlbum>>): void;|@ohos.filemanagement.userFileManager.d.ts| 343|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getPrivateAlbum(type: PrivateAlbumType): Promise\<FetchResult\<PrivateAlbum>>;|@ohos.filemanagement.userFileManager.d.ts| 344|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getAudioAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<FileAsset>>): void;|@ohos.filemanagement.userFileManager.d.ts| 345|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getAudioAssets(options: FetchOptions): Promise\<FetchResult\<FileAsset>>;|@ohos.filemanagement.userFileManager.d.ts| 346|Added|NA|Class name: UserFileManager;<br>Method or attribute name: delete(uri: string, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 347|Added|NA|Class name: PrivateAlbum;<br>Method or attribute name: delete(uri: string, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 348|Added|NA|Class name: UserFileManager;<br>Method or attribute name: delete(uri: string): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 349|Added|NA|Class name: PrivateAlbum;<br>Method or attribute name: delete(uri: string): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 350|Added|NA|Class name: UserFileManager;<br>Method or attribute name: on(type: ChangeEvent, callback: Callback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 351|Added|NA|Class name: UserFileManager;<br>Method or attribute name: off(type: ChangeEvent, callback?: Callback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 352|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getActivePeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;|@ohos.filemanagement.userFileManager.d.ts| 353|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getActivePeers(): Promise\<Array\<PeerInfo>>;|@ohos.filemanagement.userFileManager.d.ts| 354|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getAllPeers(callback: AsyncCallback\<Array\<PeerInfo>>): void;|@ohos.filemanagement.userFileManager.d.ts| 355|Added|NA|Class name: UserFileManager;<br>Method or attribute name: getAllPeers(): Promise\<Array\<PeerInfo>>;|@ohos.filemanagement.userFileManager.d.ts| 356|Added|NA|Class name: UserFileManager;<br>Method or attribute name: release(callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 357|Added|NA|Class name: UserFileManager;<br>Method or attribute name: release(): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 358|Added|NA|Class name: PeerInfo;<br>Method or attribute name: readonly deviceName: string;|@ohos.filemanagement.userFileManager.d.ts| 359|Added|NA|Class name: PeerInfo;<br>Method or attribute name: readonly networkId: string;|@ohos.filemanagement.userFileManager.d.ts| 360|Added|NA|Class name: PeerInfo;<br>Method or attribute name: readonly isOnline: boolean;|@ohos.filemanagement.userFileManager.d.ts| 361|Added|NA|Class name: PrivateAlbumType;<br>Method or attribute name: TYPE_FAVORITE|@ohos.filemanagement.userFileManager.d.ts| 362|Added|NA|Class name: PrivateAlbumType;<br>Method or attribute name: TYPE_TRASH|@ohos.filemanagement.userFileManager.d.ts| 363|Added|NA|Class name: PrivateAlbum;<br>Method or attribute name: recover(uri: string, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 364|Added|NA|Class name: PrivateAlbum;<br>Method or attribute name: recover(uri: string): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 365|Added|NA|Class name: fileShare;<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags, callback: AsyncCallback\<void>): void;|@ohos.fileshare.d.ts| 366|Added|NA|Class name: fileShare;<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;|@ohos.fileshare.d.ts| 367|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function choose(types?: string[]): Promise\<string>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function choose(types?: string[]): Promise\<string>;<br>New version: 9<br>Substitute API: |@ohos.document.d.ts| 368|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function choose(callback: AsyncCallback\<string>): void;<br>New version: 9<br>Substitute API: |@ohos.document.d.ts| 369|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>New version: 9<br>Substitute API: |@ohos.document.d.ts| 370|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.document.d.ts| 371|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: |Class name: sourcefile;<br>Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.document.d.ts| 372|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode?: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode?: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| 373|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| 374|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: |Class name: sourcefile;<br>Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts| 375|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function accessSync(path: string, mode?: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function accessSync(path: string, mode?: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.accessSync|@ohos.fileio.d.ts| 376|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.close|@ohos.fileio.d.ts| 377|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.close|@ohos.fileio.d.ts| 378|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function closeSync(fd: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function closeSync(fd: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.closeSync|@ohos.fileio.d.ts| 379|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 380|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: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 381|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 382|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.copyFileSync|@ohos.fileio.d.ts| 383|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string): Promise\<Stream>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string): Promise\<Stream>;<br>New version: 9<br>Substitute API: ohos.file.fs.createStream|@ohos.fileio.d.ts| 384|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: |Class name: sourcefile;<br>Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.createStream|@ohos.fileio.d.ts| 385|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;<br>New version: 9<br>Substitute API: ohos.file.fs.createStreamSync|@ohos.fileio.d.ts| 386|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 387|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: |Class name: sourcefile;<br>Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 388|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chownSync(path: string, uid: number, gid: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function chownSync(path: string, uid: number, gid: number): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 389|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 390|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: |Class name: sourcefile;<br>Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 391|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function chmodSync(path: string, mode: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function chmodSync(path: string, mode: number): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 392|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len?: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len?: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 393|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 394|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: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 395|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function ftruncateSync(fd: number, len?: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function ftruncateSync(fd: number, len?: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncateSync|@ohos.fileio.d.ts| 396|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts| 397|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts| 398|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fsyncSync(fd: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fsyncSync(fd: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.fsyncSync|@ohos.fileio.d.ts| 399|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number): Promise\<Stat>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number): Promise\<Stat>;<br>New version: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 400|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 401|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fstatSync(fd: number): Stat;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fstatSync(fd: number): Stat;<br>New version: 9<br>Substitute API: ohos.file.fs.statSync|@ohos.fileio.d.ts| 402|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.fdatasync|@ohos.fileio.d.ts| 403|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.fdatasync|@ohos.fileio.d.ts| 404|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdatasyncSync(fd: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fdatasyncSync(fd: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.fdatasyncSync|@ohos.fileio.d.ts| 405|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 406|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: |Class name: sourcefile;<br>Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 407|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchownSync(fd: number, uid: number, gid: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fchownSync(fd: number, uid: number, gid: number): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 408|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 409|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: |Class name: sourcefile;<br>Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 410|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fchmodSync(fd: number, mode: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fchmodSync(fd: number, mode: number): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 411|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise\<Stream>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise\<Stream>;<br>New version: 9<br>Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| 412|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: |Class name: sourcefile;<br>Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| 413|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;<br>New version: 9<br>Substitute API: ohos.file.fs.fdopenStreamSync|@ohos.fileio.d.ts| 414|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string): Promise\<string>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string): Promise\<string>;<br>New version: 9<br>Substitute API: ohos.file.hash.hash|@ohos.fileio.d.ts| 415|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: |Class name: sourcefile;<br>Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>New version: 9<br>Substitute API: ohos.file.hash.hash|@ohos.fileio.d.ts| 416|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number): Promise\<void>;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 417|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: |Class name: sourcefile;<br>Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 418|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lchownSync(path: string, uid: number, gid: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function lchownSync(path: string, uid: number, gid: number): void;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 419|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string): Promise\<Stat>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string): Promise\<Stat>;<br>New version: 9<br>Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts| 420|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts| 421|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function lstatSync(path: string): Stat;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function lstatSync(path: string): Stat;<br>New version: 9<br>Substitute API: ohos.file.fs.lstatSync|@ohos.fileio.d.ts| 422|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode?: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode?: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 423|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 424|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: |Class name: sourcefile;<br>Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 425|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdirSync(path: string, mode?: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdirSync(path: string, mode?: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdirSync|@ohos.fileio.d.ts| 426|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string): Promise\<string>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string): Promise\<string>;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| 427|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| 428|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function mkdtempSync(prefix: string): string;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function mkdtempSync(prefix: string): string;<br>New version: 9<br>Substitute API: ohos.file.fs.mkdtempSync|@ohos.fileio.d.ts| 429|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags?: number, mode?: number): Promise\<number>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags?: number, mode?: number): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 430|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 431|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: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 432|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: |Class name: sourcefile;<br>Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts| 433|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function openSync(path: string, flags?: number, mode?: number): number;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function openSync(path: string, flags?: number, mode?: number): number;<br>New version: 9<br>Substitute API: ohos.file.fs.openSync|@ohos.fileio.d.ts| 434|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string): Promise\<Dir>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string): Promise\<Dir>;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 435|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 436|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function opendirSync(path: string): Dir;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function opendirSync(path: string): Dir;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 437|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise\<string>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise\<string>;<br>New version: 9<br>Substitute API: ohos.file.fs.readText|@ohos.fileio.d.ts| 438|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<string>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<string>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.readText|@ohos.fileio.d.ts| 439|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>New version: 9<br>Substitute API: ohos.file.fs.readTextSync|@ohos.fileio.d.ts| 440|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}): Promise\<ReadOut><br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}): Promise\<ReadOut><br>New version: 9<br>Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| 441|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: |Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| 442|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}, callback: AsyncCallback\<ReadOut>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}, callback: AsyncCallback\<ReadOut>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.read|@ohos.fileio.d.ts| 443|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}): number;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br>}): number;<br>New version: 9<br>Substitute API: ohos.file.fs.readSync|@ohos.fileio.d.ts| 444|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.rename|@ohos.fileio.d.ts| 445|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: |Class name: sourcefile;<br>Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.rename|@ohos.fileio.d.ts| 446|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;<br>New version: 9<br>Substitute API: ohos.file.fs.renameSync|@ohos.fileio.d.ts| 447|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.rmdir|@ohos.fileio.d.ts| 448|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.rmdir|@ohos.fileio.d.ts| 449|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function rmdirSync(path: string): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function rmdirSync(path: string): void;<br>New version: 9<br>Substitute API: ohos.file.fs.rmdirSync|@ohos.fileio.d.ts| 450|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string): Promise\<Stat>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string): Promise\<Stat>;<br>New version: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 451|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts| 452|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function statSync(path: string): Stat;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function statSync(path: string): Stat;<br>New version: 9<br>Substitute API: ohos.file.fs.statSync|@ohos.fileio.d.ts| 453|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.symlink|@ohos.fileio.d.ts| 454|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: |Class name: sourcefile;<br>Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.symlink|@ohos.fileio.d.ts| 455|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;<br>New version: 9<br>Substitute API: ohos.file.fs.symlinkSync|@ohos.fileio.d.ts| 456|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len?: number): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len?: number): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 457|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 458|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: |Class name: sourcefile;<br>Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts| 459|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function truncateSync(path: string, len?: number): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function truncateSync(path: string, len?: number): void;<br>New version: 9<br>Substitute API: ohos.file.fs.truncateSync|@ohos.fileio.d.ts| 460|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string): Promise\<void>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.unlink|@ohos.fileio.d.ts| 461|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.unlink|@ohos.fileio.d.ts| 462|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function unlinkSync(path: string): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function unlinkSync(path: string): void;<br>New version: 9<br>Substitute API: ohos.file.fs.unlinkSync|@ohos.fileio.d.ts| 463|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}): Promise\<number>;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| 464|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: |Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| 465|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.write|@ohos.fileio.d.ts| 466|Deprecated version changed|Class name: sourcefile;<br>Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}): number;<br>Old version: |Class name: sourcefile;<br>Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br>}): number;<br>New version: 9<br>Substitute API: ohos.file.fs.writeSync|@ohos.fileio.d.ts| 467|Deprecated version changed|Class name: Dir;<br>Method or attribute name: read(): Promise\<Dirent>;<br>Old version: |Class name: Dir;<br>Method or attribute name: read(): Promise\<Dirent>;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 468|Deprecated version changed|Class name: Dir;<br>Method or attribute name: readSync(): Dirent;<br>Old version: |Class name: Dir;<br>Method or attribute name: readSync(): Dirent;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 469|Deprecated version changed|Class name: Dir;<br>Method or attribute name: close(): Promise\<void>;<br>Old version: |Class name: Dir;<br>Method or attribute name: close(): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 470|Deprecated version changed|Class name: Stream;<br>Method or attribute name: close(): Promise\<void>;<br>Old version: |Class name: Stream;<br>Method or attribute name: close(): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 471|Deprecated version changed|Class name: Dir;<br>Method or attribute name: closeSync(): void;<br>Old version: |Class name: Dir;<br>Method or attribute name: closeSync(): void;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 472|Deprecated version changed|Class name: Stream;<br>Method or attribute name: closeSync(): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: closeSync(): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 473|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: declare interface Dirent<br>Old version: |Class name: Dirent;<br>Method or attribute name: declare interface Dirent<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 474|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: readonly name: string;<br>Old version: |Class name: Dirent;<br>Method or attribute name: readonly name: string;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 475|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isBlockDevice(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isBlockDevice(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 476|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isBlockDevice(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isBlockDevice(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 477|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isCharacterDevice(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isCharacterDevice(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 478|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isCharacterDevice(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isCharacterDevice(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 479|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isDirectory(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isDirectory(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 480|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isDirectory(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isDirectory(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 481|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isFIFO(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isFIFO(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 482|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isFIFO(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isFIFO(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 483|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isFile(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isFile(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 484|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isFile(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isFile(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 485|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isSocket(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isSocket(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 486|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isSocket(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isSocket(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 487|Deprecated version changed|Class name: Dirent;<br>Method or attribute name: isSymbolicLink(): boolean;<br>Old version: |Class name: Dirent;<br>Method or attribute name: isSymbolicLink(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.listFile|@ohos.fileio.d.ts| 488|Deprecated version changed|Class name: Stat;<br>Method or attribute name: isSymbolicLink(): boolean;<br>Old version: |Class name: Stat;<br>Method or attribute name: isSymbolicLink(): boolean;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 489|Deprecated version changed|Class name: Stat;<br>Method or attribute name: declare interface Stat<br>Old version: |Class name: Stat;<br>Method or attribute name: declare interface Stat<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 490|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly dev: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly dev: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 491|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly ino: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly ino: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 492|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly mode: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly mode: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 493|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly nlink: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly nlink: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 494|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly uid: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly uid: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 495|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly gid: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly gid: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 496|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly rdev: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly rdev: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 497|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly size: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly size: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 498|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly blocks: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly blocks: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 499|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly atime: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly atime: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 500|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly mtime: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly mtime: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 501|Deprecated version changed|Class name: Stat;<br>Method or attribute name: readonly ctime: number;<br>Old version: |Class name: Stat;<br>Method or attribute name: readonly ctime: number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stat|@ohos.fileio.d.ts| 502|Deprecated version changed|Class name: Stream;<br>Method or attribute name: declare interface Stream<br>Old version: |Class name: Stream;<br>Method or attribute name: declare interface Stream<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 503|Deprecated version changed|Class name: Stream;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: close(callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 504|Deprecated version changed|Class name: Stream;<br>Method or attribute name: flush(): Promise\<void>;<br>Old version: |Class name: Stream;<br>Method or attribute name: flush(): Promise\<void>;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 505|Deprecated version changed|Class name: Stream;<br>Method or attribute name: flush(callback: AsyncCallback\<void>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: flush(callback: AsyncCallback\<void>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 506|Deprecated version changed|Class name: Stream;<br>Method or attribute name: flushSync(): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: flushSync(): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 507|Deprecated version changed|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }): Promise\<number>;<br>Old version: |Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 508|Deprecated version changed|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 509|Deprecated version changed|Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: write(buffer: ArrayBuffer \| string, options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 510|Deprecated version changed|Class name: Stream;<br>Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }): number;<br>Old version: |Class name: Stream;<br>Method or attribute name: writeSync(buffer: ArrayBuffer \| string, options?: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> }): number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 511|Deprecated version changed|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options?: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }): Promise\<ReadOut>;<br>Old version: |Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options?: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }): Promise\<ReadOut>;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 512|Deprecated version changed|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 513|Deprecated version changed|Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }, callback: AsyncCallback\<ReadOut>): void;<br>Old version: |Class name: Stream;<br>Method or attribute name: read(buffer: ArrayBuffer, options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }, callback: AsyncCallback\<ReadOut>): void;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 514|Deprecated version changed|Class name: Stream;<br>Method or attribute name: readSync(buffer: ArrayBuffer, options?: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }): number;<br>Old version: |Class name: Stream;<br>Method or attribute name: readSync(buffer: ArrayBuffer, options?: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> }): number;<br>New version: 9<br>Substitute API: ohos.file.fs.Stream|@ohos.fileio.d.ts| 515|Deprecated version changed|Class name: ReadOut;<br>Method or attribute name: declare interface ReadOut<br>Old version: |Class name: ReadOut;<br>Method or attribute name: declare interface ReadOut<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 516|Deprecated version changed|Class name: ReadOut;<br>Method or attribute name: bytesRead: number;<br>Old version: |Class name: ReadOut;<br>Method or attribute name: bytesRead: number;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 517|Deprecated version changed|Class name: ReadOut;<br>Method or attribute name: offset: number;<br>Old version: |Class name: ReadOut;<br>Method or attribute name: offset: number;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 518|Deprecated version changed|Class name: ReadOut;<br>Method or attribute name: buffer: ArrayBuffer;<br>Old version: |Class name: ReadOut;<br>Method or attribute name: buffer: ArrayBuffer;<br>New version: 9<br>Substitute API: |@ohos.fileio.d.ts| 519|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| 520|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string): Promise\<number>;<br>Old version: |Class name: Statfs;<br>Method or attribute name: function getFreeBytes(path: string): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| 521|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback\<number>): void;<br>Old version: |Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback\<number>): void;<br>New version: 9<br>Substitute API: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| 522|Deprecated version changed|Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string): Promise\<number>;<br>Old version: |Class name: Statfs;<br>Method or attribute name: function getTotalBytes(path: string): Promise\<number>;<br>New version: 9<br>Substitute API: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| 523