1| Change Type | Old Version | New Version | d.ts File | 2| ---- | ------ | ------ | -------- | 3|Added|NA|Module name: ohos.file.environment<br>Class name: Environment|@ohos.file.environment.d.ts| 4|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(): Promise<string>;|@ohos.file.environment.d.ts| 5|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;|@ohos.file.environment.d.ts| 6|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(): Promise<string>;|@ohos.file.environment.d.ts| 7|Added|NA|Module name: ohos.file.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;|@ohos.file.environment.d.ts| 8|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess|@ohos.file.fileAccess.d.ts| 9|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void;|@ohos.file.fileAccess.d.ts| 10|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;|@ohos.file.fileAccess.d.ts| 11|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|@ohos.file.fileAccess.d.ts| 12|Added|NA|Module name: ohos.file.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;|@ohos.file.fileAccess.d.ts| 13|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo|@ohos.file.fileAccess.d.ts| 14|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| 15|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: fileName: string;|@ohos.file.fileAccess.d.ts| 16|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mode: number;|@ohos.file.fileAccess.d.ts| 17|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: size: number;|@ohos.file.fileAccess.d.ts| 18|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mtime: number;|@ohos.file.fileAccess.d.ts| 19|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mimeType: string;|@ohos.file.fileAccess.d.ts| 20|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 21|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 22|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileIterator|@ohos.file.fileAccess.d.ts| 23|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileIterator<br>Method or attribute name: next(): {value: FileInfo, done: boolean}|@ohos.file.fileAccess.d.ts| 24|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo|@ohos.file.fileAccess.d.ts| 25|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceType: number;|@ohos.file.fileAccess.d.ts| 26|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: uri: string;|@ohos.file.fileAccess.d.ts| 27|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: displayName: string;|@ohos.file.fileAccess.d.ts| 28|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceFlags: number;|@ohos.file.fileAccess.d.ts| 29|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 30|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|@ohos.file.fileAccess.d.ts| 31|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootIterator|@ohos.file.fileAccess.d.ts| 32|Added|NA|Module name: ohos.file.fileAccess<br>Class name: RootIterator<br>Method or attribute name: next(): {value: RootInfo, done: boolean}|@ohos.file.fileAccess.d.ts| 33|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS|@ohos.file.fileAccess.d.ts| 34|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: READ = 0o0|@ohos.file.fileAccess.d.ts| 35|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE = 0o1|@ohos.file.fileAccess.d.ts| 36|Added|NA|Module name: ohos.file.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE_READ = 0o2|@ohos.file.fileAccess.d.ts| 37|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper|@ohos.file.fileAccess.d.ts| 38|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>;|@ohos.file.fileAccess.d.ts| 39|Added|NA|Module name: ohos.file.fileAccess<br>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|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts| 41|Added|NA|Module name: ohos.file.fileAccess<br>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|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts| 43|Added|NA|Module name: ohos.file.fileAccess<br>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|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string) : Promise<number>;|@ohos.file.fileAccess.d.ts| 45|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void;|@ohos.file.fileAccess.d.ts| 46|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>;|@ohos.file.fileAccess.d.ts| 47|Added|NA|Module name: ohos.file.fileAccess<br>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|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string) : Promise<string>;|@ohos.file.fileAccess.d.ts| 49|Added|NA|Module name: ohos.file.fileAccess<br>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|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string) : Promise<boolean>;|@ohos.file.fileAccess.d.ts| 51|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void;|@ohos.file.fileAccess.d.ts| 52|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(): Promise<RootIterator>;|@ohos.file.fileAccess.d.ts| 53|Added|NA|Module name: ohos.file.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void;|@ohos.file.fileAccess.d.ts| 54|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: fileExtensionInfo|@ohos.file.fileExtensionInfo.d.ts| 55|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType|@ohos.file.fileExtensionInfo.d.ts| 56|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_LOCAL_DISK = 1|@ohos.file.fileExtensionInfo.d.ts| 57|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_DISK|@ohos.file.fileExtensionInfo.d.ts| 58|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_TERMINAL|@ohos.file.fileExtensionInfo.d.ts| 59|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|@ohos.file.fileExtensionInfo.d.ts| 60|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_MTP|@ohos.file.fileExtensionInfo.d.ts| 61|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_USB|@ohos.file.fileExtensionInfo.d.ts| 62|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_CLOUD|@ohos.file.fileExtensionInfo.d.ts| 63|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag|@ohos.file.fileExtensionInfo.d.ts| 64|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_READ = 0b1;|@ohos.file.fileExtensionInfo.d.ts| 65|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b10;|@ohos.file.fileExtensionInfo.d.ts| 66|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag|@ohos.file.fileExtensionInfo.d.ts| 67|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_FILE = 0b1;|@ohos.file.fileExtensionInfo.d.ts| 68|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_DIR = 0b10;|@ohos.file.fileExtensionInfo.d.ts| 69|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_READ = 0b100;|@ohos.file.fileExtensionInfo.d.ts| 70|Added|NA|Module name: ohos.file.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b1000;|@ohos.file.fileExtensionInfo.d.ts| 71|Added|NA|Module name: ohos.file.fileuri<br>Class name: fileUri|@ohos.file.fileuri.d.ts| 72|Added|NA|Module name: ohos.file.fileuri<br>Class name: fileUri<br>Method or attribute name: function getUriFromPath(path: string): string;|@ohos.file.fileuri.d.ts| 73|Added|NA|Class name: fileIo<br>Method or attribute name: function access(path: string): Promise<boolean>;|@ohos.file.fs.d.ts| 74|Added|NA|Class name: fileIo<br>Method or attribute name: function access(path: string, callback: AsyncCallback<boolean>): void;|@ohos.file.fs.d.ts| 75|Added|NA|Class name: fileIo<br>Method or attribute name: function accessSync(path: string): boolean;|@ohos.file.fs.d.ts| 76|Added|NA|Class name: fileIo<br>Method or attribute name: function close(file: number \| File): Promise<void>;|@ohos.file.fs.d.ts| 77|Added|NA|Class name: fileIo<br>Method or attribute name: function close(file: number \| File, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 78|Added|NA|Class name: fileIo<br>Method or attribute name: function closeSync(fd: number \| File): void;|@ohos.file.fs.d.ts| 79|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;|@ohos.file.fs.d.ts| 80|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 81|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 82|Added|NA|Class name: fileIo<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;|@ohos.file.fs.d.ts| 83|Added|NA|Class name: fileIo<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;|@ohos.file.fs.d.ts| 84|Added|NA|Class name: fileIo<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;|@ohos.file.fs.d.ts| 85|Added|NA|Class name: fileIo<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;|@ohos.file.fs.d.ts| 86|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;|@ohos.file.fs.d.ts| 87|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 88|Added|NA|Class name: fileIo<br>Method or attribute name: function fdatasyncSync(fd: number): void;|@ohos.file.fs.d.ts| 89|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;|@ohos.file.fs.d.ts| 90|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;|@ohos.file.fs.d.ts| 91|Added|NA|Class name: fileIo<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;|@ohos.file.fs.d.ts| 92|Added|NA|Class name: fileIo<br>Method or attribute name: function fsync(fd: number): Promise<void>;|@ohos.file.fs.d.ts| 93|Added|NA|Class name: fileIo<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 94|Added|NA|Class name: fileIo<br>Method or attribute name: function fsyncSync(fd: number): void;|@ohos.file.fs.d.ts| 95|Added|NA|Class name: fileIo<br>Method or attribute name: function lstat(path: string): Promise<Stat>;|@ohos.file.fs.d.ts| 96|Added|NA|Class name: fileIo<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;|@ohos.file.fs.d.ts| 97|Added|NA|Class name: fileIo<br>Method or attribute name: function lstatSync(path: string): Stat;|@ohos.file.fs.d.ts| 98|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdir(path: string): Promise<void>;|@ohos.file.fs.d.ts| 99|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 100|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdirSync(path: string): void;|@ohos.file.fs.d.ts| 101|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;|@ohos.file.fs.d.ts| 102|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts| 103|Added|NA|Class name: fileIo<br>Method or attribute name: function mkdtempSync(prefix: string): string;|@ohos.file.fs.d.ts| 104|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;|@ohos.file.fs.d.ts| 105|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts| 106|Added|NA|Class name: fileIo<br>Method or attribute name: function readText(filePath: string, options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;|@ohos.file.fs.d.ts| 107|Added|NA|Class name: fileIo<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br>}): string;|@ohos.file.fs.d.ts| 108|Added|NA|Class name: fileIo<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;|@ohos.file.fs.d.ts| 109|Added|NA|Class name: fileIo<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 110|Added|NA|Class name: fileIo<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;|@ohos.file.fs.d.ts| 111|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdir(path: string): Promise<void>;|@ohos.file.fs.d.ts| 112|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 113|Added|NA|Class name: fileIo<br>Method or attribute name: function rmdirSync(path: string): void;|@ohos.file.fs.d.ts| 114|Added|NA|Class name: fileIo<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;|@ohos.file.fs.d.ts| 115|Added|NA|Class name: fileIo<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 116|Added|NA|Class name: fileIo<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;|@ohos.file.fs.d.ts| 117|Added|NA|Class name: fileIo<br>Method or attribute name: function unlink(path: string): Promise<void>;|@ohos.file.fs.d.ts| 118|Added|NA|Class name: fileIo<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 119|Added|NA|Class name: fileIo<br>Method or attribute name: function unlinkSync(path: string): void;|@ohos.file.fs.d.ts| 120|Added|NA|Class name: Stat<br>Method or attribute name: readonly ino: bigint;|@ohos.file.fs.d.ts| 121|Added|NA|Module name: ohos.file.fs<br>Class name: Stream|@ohos.file.fs.d.ts| 122|Added|NA|Class name: Stream<br>Method or attribute name: |@ohos.file.fs.d.ts| 123|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: close(): Promise<void>;|@ohos.file.fs.d.ts| 124|Added|NA|Class name: Stream<br>Method or attribute name: close(): Promise<void>;|@ohos.file.fs.d.ts| 125|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: close(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 126|Added|NA|Class name: Stream<br>Method or attribute name: close(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 127|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts| 128|Added|NA|Class name: Stream<br>Method or attribute name: closeSync(): void;|@ohos.file.fs.d.ts| 129|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flush(): Promise<void>;|@ohos.file.fs.d.ts| 130|Added|NA|Class name: Stream<br>Method or attribute name: flush(): Promise<void>;|@ohos.file.fs.d.ts| 131|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flush(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 132|Added|NA|Class name: Stream<br>Method or attribute name: flush(callback: AsyncCallback<void>): void;|@ohos.file.fs.d.ts| 133|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts| 134|Added|NA|Class name: Stream<br>Method or attribute name: flushSync(): void;|@ohos.file.fs.d.ts| 135|Added|NA|Module name: ohos.file.fs<br>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| 136|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| 137|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts| 138|Added|NA|Class name: Stream<br>Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts| 139|Added|NA|Module name: ohos.file.fs<br>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| 140|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| 141|Added|NA|Module name: ohos.file.fs<br>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| 142|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| 143|Added|NA|Module name: ohos.file.fs<br>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| 144|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| 145|Added|NA|Module name: ohos.file.fs<br>Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts| 146|Added|NA|Class name: Stream<br>Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;|@ohos.file.fs.d.ts| 147|Added|NA|Module name: ohos.file.fs<br>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| 148|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| 149|Added|NA|Module name: ohos.file.fs<br>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| 150|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| 151|Added|NA|Module name: ohos.file.hash<br>Class name: Hash|@ohos.file.hash.d.ts| 152|Added|NA|Module name: ohos.file.hash<br>Class name: Hash<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;|@ohos.file.hash.d.ts| 153|Added|NA|Module name: ohos.file.hash<br>Class name: Hash<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;|@ohos.file.hash.d.ts| 154|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel|@ohos.file.securityLabel.d.ts| 155|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 156|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 157|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 158|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 159|Added|NA|Module name: ohos.file.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 160|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path: string, type: dataLevel): Promise<void>;|@ohos.file.securityLabel.d.ts| 161|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path: string, type: dataLevel, callback: AsyncCallback<void>): void;|@ohos.file.securityLabel.d.ts| 162|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabelSync(path: string, type: dataLevel): void;|@ohos.file.securityLabel.d.ts| 163|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path: string): Promise<string>;|@ohos.file.securityLabel.d.ts| 164|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void;|@ohos.file.securityLabel.d.ts| 165|Added|NA|Module name: ohos.file.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabelSync(path: string): string;|@ohos.file.securityLabel.d.ts| 166|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs|@ohos.file.statvfs.d.ts| 167|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getFreeSize(path: string): Promise<number>;|@ohos.file.statvfs.d.ts| 168|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void;|@ohos.file.statvfs.d.ts| 169|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getTotalSize(path: string): Promise<number>;|@ohos.file.statvfs.d.ts| 170|Added|NA|Module name: ohos.file.statvfs<br>Class name: Statfs<br>Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void;|@ohos.file.statvfs.d.ts| 171|Added|NA|Module name: ohos.fileshare<br>Class name: fileShare|@ohos.fileshare.d.ts| 172|Added|NA|Module name: ohos.fileshare<br>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| 173|Added|NA|Module name: ohos.fileshare<br>Class name: fileShare<br>Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;|@ohos.fileshare.d.ts| 174|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess|NA|@ohos.data.fileAccess.d.ts| 175|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void;|NA|@ohos.data.fileAccess.d.ts| 176|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;|NA|@ohos.data.fileAccess.d.ts| 177|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts| 178|Deleted|Module name: ohos.data.fileAccess<br>Class name: fileAccess<br>Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;|NA|@ohos.data.fileAccess.d.ts| 179|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo|NA|@ohos.data.fileAccess.d.ts| 180|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts| 181|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: fileName: string;|NA|@ohos.data.fileAccess.d.ts| 182|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mode: number;|NA|@ohos.data.fileAccess.d.ts| 183|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: size: number;|NA|@ohos.data.fileAccess.d.ts| 184|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mtime: number;|NA|@ohos.data.fileAccess.d.ts| 185|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: mimeType: string;|NA|@ohos.data.fileAccess.d.ts| 186|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| 187|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| 188|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileIterator|NA|@ohos.data.fileAccess.d.ts| 189|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileIterator<br>Method or attribute name: next(): {value: FileInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts| 190|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo|NA|@ohos.data.fileAccess.d.ts| 191|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceType: number;|NA|@ohos.data.fileAccess.d.ts| 192|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: uri: string;|NA|@ohos.data.fileAccess.d.ts| 193|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: displayName: string;|NA|@ohos.data.fileAccess.d.ts| 194|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: deviceFlags: number;|NA|@ohos.data.fileAccess.d.ts| 195|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: listFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| 196|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootInfo<br>Method or attribute name: scanFile(filter?: Filter): FileIterator;|NA|@ohos.data.fileAccess.d.ts| 197|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootIterator|NA|@ohos.data.fileAccess.d.ts| 198|Deleted|Module name: ohos.data.fileAccess<br>Class name: RootIterator<br>Method or attribute name: next(): {value: RootInfo, done: boolean}|NA|@ohos.data.fileAccess.d.ts| 199|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS|NA|@ohos.data.fileAccess.d.ts| 200|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: READ = 0o0|NA|@ohos.data.fileAccess.d.ts| 201|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE = 0o1|NA|@ohos.data.fileAccess.d.ts| 202|Deleted|Module name: ohos.data.fileAccess<br>Class name: OPENFLAGS<br>Method or attribute name: WRITE_READ = 0o2|NA|@ohos.data.fileAccess.d.ts| 203|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper|NA|@ohos.data.fileAccess.d.ts| 204|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>;|NA|@ohos.data.fileAccess.d.ts| 205|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void;|NA|@ohos.data.fileAccess.d.ts| 206|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts| 207|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts| 208|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts| 209|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts| 210|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string) : Promise<number>;|NA|@ohos.data.fileAccess.d.ts| 211|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void;|NA|@ohos.data.fileAccess.d.ts| 212|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts| 213|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts| 214|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string) : Promise<string>;|NA|@ohos.data.fileAccess.d.ts| 215|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>) : void;|NA|@ohos.data.fileAccess.d.ts| 216|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string) : Promise<boolean>;|NA|@ohos.data.fileAccess.d.ts| 217|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void;|NA|@ohos.data.fileAccess.d.ts| 218|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(): Promise<RootIterator>;|NA|@ohos.data.fileAccess.d.ts| 219|Deleted|Module name: ohos.data.fileAccess<br>Class name: FileAccessHelper<br>Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void;|NA|@ohos.data.fileAccess.d.ts| 220|Deleted|Module name: ohos.environment<br>Class name: Environment|NA|@ohos.environment.d.ts| 221|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;|NA|@ohos.environment.d.ts| 222|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getStorageDataDir(): Promise<string>;|NA|@ohos.environment.d.ts| 223|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;|NA|@ohos.environment.d.ts| 224|Deleted|Module name: ohos.environment<br>Class name: Environment<br>Method or attribute name: function getUserDataDir(): Promise<string>;|NA|@ohos.environment.d.ts| 225|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: fileExtensionInfo|NA|@ohos.fileExtensionInfo.d.ts| 226|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType|NA|@ohos.fileExtensionInfo.d.ts| 227|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_LOCAL_DISK = 1|NA|@ohos.fileExtensionInfo.d.ts| 228|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_DISK|NA|@ohos.fileExtensionInfo.d.ts| 229|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_SHARED_TERMINAL|NA|@ohos.fileExtensionInfo.d.ts| 230|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS|NA|@ohos.fileExtensionInfo.d.ts| 231|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_MTP|NA|@ohos.fileExtensionInfo.d.ts| 232|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_USB|NA|@ohos.fileExtensionInfo.d.ts| 233|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceType<br>Method or attribute name: DEVICE_EXTERNAL_CLOUD|NA|@ohos.fileExtensionInfo.d.ts| 234|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag|NA|@ohos.fileExtensionInfo.d.ts| 235|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_READ = 0b1;|NA|@ohos.fileExtensionInfo.d.ts| 236|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DeviceFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b10;|NA|@ohos.fileExtensionInfo.d.ts| 237|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag|NA|@ohos.fileExtensionInfo.d.ts| 238|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_FILE = 0b1;|NA|@ohos.fileExtensionInfo.d.ts| 239|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const REPRESENTS_DIR = 0b10;|NA|@ohos.fileExtensionInfo.d.ts| 240|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_READ = 0b100;|NA|@ohos.fileExtensionInfo.d.ts| 241|Deleted|Module name: ohos.fileExtensionInfo<br>Class name: DocumentFlag<br>Method or attribute name: const SUPPORTS_WRITE = 0b1000;|NA|@ohos.fileExtensionInfo.d.ts| 242|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel|NA|@ohos.securityLabel.d.ts| 243|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| 244|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| 245|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| 246|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| 247|Deleted|Module name: ohos.securityLabel<br>Class name: dataLevel<br>Method or attribute name: type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.securityLabel.d.ts| 248|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback<void>): void;|NA|@ohos.securityLabel.d.ts| 249|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabel(path:string, type:dataLevel): Promise<void>;|NA|@ohos.securityLabel.d.ts| 250|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function setSecurityLabelSync(path:string, type:dataLevel): void;|NA|@ohos.securityLabel.d.ts| 251|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path:string, callback: AsyncCallback<string>): void;|NA|@ohos.securityLabel.d.ts| 252|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabel(path:string): Promise<string>;|NA|@ohos.securityLabel.d.ts| 253|Deleted|Module name: ohos.securityLabel<br>Class name: securityLabel<br>Method or attribute name: function getSecurityLabelSync(path:string): string;|NA|@ohos.securityLabel.d.ts| 254|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.access |@ohos.fileio.d.ts| 255|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 256|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 257|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function accessSync(path: string, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function accessSync(path: string, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.accessSync |@ohos.fileio.d.ts| 258|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function close(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function close(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.close |@ohos.fileio.d.ts| 259|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 260|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function closeSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function closeSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.closeSync |@ohos.fileio.d.ts| 261|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.copyFile |@ohos.fileio.d.ts| 262|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 263|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 264|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.copyFileSync |@ohos.fileio.d.ts| 265|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.createStream |@ohos.fileio.d.ts| 266|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 267|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function createStreamSync(path: string, mode: string): Stream;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.createStreamSync |@ohos.fileio.d.ts| 268|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 269|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 270|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 271|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 272|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 273|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function chmodSync(path: string, mode: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function chmodSync(path: string, mode: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 274|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsync(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsync(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fsync |@ohos.fileio.d.ts| 275|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 276|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fsyncSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fsyncSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fsyncSync |@ohos.fileio.d.ts| 277|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdatasync |@ohos.fileio.d.ts| 278|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 279|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdatasyncSync(fd: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdatasyncSync(fd: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdatasyncSync |@ohos.fileio.d.ts| 280|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 281|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 282|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 283|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 284|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 285|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fchmodSync(fd: number, mode: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fchmodSync(fd: number, mode: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 286|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdopenStream |@ohos.fileio.d.ts| 287|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 288|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.fdopenStreamSync |@ohos.fileio.d.ts| 289|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.hash.hash |@ohos.fileio.d.ts| 290|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 291|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 292|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 293|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void;<br>Deprecated version: 9<br>Substitute API: N/A|@ohos.fileio.d.ts| 294|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstat(path: string): Promise<Stat>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstat(path: string): Promise<Stat>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.lstat |@ohos.fileio.d.ts| 295|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 296|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function lstatSync(path: string): Stat;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function lstatSync(path: string): Stat;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.lstatSync |@ohos.fileio.d.ts| 297|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdir |@ohos.fileio.d.ts| 298|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 299|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 300|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdirSync(path: string, mode?: number): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdirSync(path: string, mode?: number): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdirSync |@ohos.fileio.d.ts| 301|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdtemp |@ohos.fileio.d.ts| 302|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 303|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function mkdtempSync(prefix: string): string;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function mkdtempSync(prefix: string): string;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.mkdtempSync |@ohos.fileio.d.ts| 304|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): Promise<string>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.readText |@ohos.fileio.d.ts| 305|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readText(filePath: string, options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}, callback: AsyncCallback<string>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 306|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function readTextSync(filePath: string, options?: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br>}): string;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.readTextSync |@ohos.fileio.d.ts| 307|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rename |@ohos.fileio.d.ts| 308|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 309|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function renameSync(oldPath: string, newPath: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.renameSync |@ohos.fileio.d.ts| 310|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdir(path: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdir(path: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rmdir |@ohos.fileio.d.ts| 311|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 312|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function rmdirSync(path: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function rmdirSync(path: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.rmdirSync |@ohos.fileio.d.ts| 313|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.symlink |@ohos.fileio.d.ts| 314|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 315|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function symlinkSync(target: string, srcPath: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.symlinkSync |@ohos.fileio.d.ts| 316|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlink(path: string): Promise<void>;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlink(path: string): Promise<void>;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.unlink |@ohos.fileio.d.ts| 317|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void;<br>Deprecated version: 9|@ohos.fileio.d.ts| 318|Deprecated version changed|Class name: fileIO<br>Method or attribute name: function unlinkSync(path: string): void;<br>Deprecated version: N/A|Class name: fileIO<br>Method or attribute name: function unlinkSync(path: string): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.unlinkSync |@ohos.fileio.d.ts| 319|Deprecated version changed|Class name: Stream<br>Deprecated version: N/A|Class name: Stream<br>Deprecated version: 9<br>Substitute API: ohos.file.fs.Stream |@ohos.fileio.d.ts| 320|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.statvfs.getFreeSize |@ohos.statfs.d.ts| 321|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string): Promise<number>;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getFreeBytes(path: string): Promise<number>;<br>Deprecated version: 9|@ohos.statfs.d.ts| 322|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void;<br>Deprecated version: 9<br>Substitute API: ohos.file.statvfs.getTotalSize |@ohos.statfs.d.ts| 323|Deprecated version changed|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string): Promise<number>;<br>Deprecated version: N/A|Class name: Statfs<br>Method or attribute name: function getTotalBytes(path: string): Promise<number>;<br>Deprecated version: 9|@ohos.statfs.d.ts| 324