Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Module name: ohos.file.environment Class name: Environment |
@ohos.file.environment.d.ts |
Added | NA | Module name: ohos.file.environment Class name: Environment Method or attribute name: function getStorageDataDir(): Promise<string>; |
@ohos.file.environment.d.ts |
Added | NA | Module name: ohos.file.environment Class name: Environment Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void; |
@ohos.file.environment.d.ts |
Added | NA | Module name: ohos.file.environment Class name: Environment Method or attribute name: function getUserDataDir(): Promise<string>; |
@ohos.file.environment.d.ts |
Added | NA | Module name: ohos.file.environment Class name: Environment Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void; |
@ohos.file.environment.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: fileAccess |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: fileAccess Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: fileAccess Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: fileAccess Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: fileAccess Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: uri: string; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: fileName: string; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: mode: number; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: size: number; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: mtime: number; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: mimeType: string; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: listFile(filter?: Filter): FileIterator; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileInfo Method or attribute name: scanFile(filter?: Filter): FileIterator; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileIterator |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileIterator Method or attribute name: next(): {value: FileInfo, done: boolean} |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: deviceType: number; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: uri: string; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: displayName: string; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: deviceFlags: number; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: listFile(filter?: Filter): FileIterator; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootInfo Method or attribute name: scanFile(filter?: Filter): FileIterator; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootIterator |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: RootIterator Method or attribute name: next(): {value: RootInfo, done: boolean} |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: OPENFLAGS |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: OPENFLAGS Method or attribute name: READ = 0o0 |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: OPENFLAGS Method or attribute name: WRITE = 0o1 |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: OPENFLAGS Method or attribute name: WRITE_READ = 0o2 |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: delete(uri: string) : Promise<number>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: rename(uri: string, displayName: string) : Promise<string>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: access(sourceFileUri: string) : Promise<boolean>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: getRoots(): Promise<RootIterator>; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileAccess Class name: FileAccessHelper Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void; |
@ohos.file.fileAccess.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: fileExtensionInfo |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_LOCAL_DISK = 1 |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_SHARED_DISK |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_SHARED_TERMINAL |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_EXTERNAL_MTP |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_EXTERNAL_USB |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceType Method or attribute name: DEVICE_EXTERNAL_CLOUD |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceFlag |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceFlag Method or attribute name: const SUPPORTS_READ = 0b1; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DeviceFlag Method or attribute name: const SUPPORTS_WRITE = 0b10; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DocumentFlag |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DocumentFlag Method or attribute name: const REPRESENTS_FILE = 0b1; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DocumentFlag Method or attribute name: const REPRESENTS_DIR = 0b10; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DocumentFlag Method or attribute name: const SUPPORTS_READ = 0b100; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileExtensionInfo Class name: DocumentFlag Method or attribute name: const SUPPORTS_WRITE = 0b1000; |
@ohos.file.fileExtensionInfo.d.ts |
Added | NA | Module name: ohos.file.fileuri Class name: fileUri |
@ohos.file.fileuri.d.ts |
Added | NA | Module name: ohos.file.fileuri Class name: fileUri Method or attribute name: function getUriFromPath(path: string): string; |
@ohos.file.fileuri.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const READ_ONLY = 0o0; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const WRITE_ONLY = 0o1; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const READ_WRITE = 0o2; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const CREATE = 0o100; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const TRUNC = 0o1000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const APPEND = 0o2000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const NONBLOCK = 0o4000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const DIR = 0o200000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const NOFOLLOW = 0o400000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: OpenMode Method or attribute name: const SYNC = 0o4010000; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function access(path: string): Promise<boolean>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function access(path: string, callback: AsyncCallback<boolean>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function accessSync(path: string): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function close(file: number | File): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function close(file: number | File, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function closeSync(fd: number | File): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function copyFile(src: string | number, dest: string | number, mode?: number): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function copyFile(src: string | number, dest: string | number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function copyFile(src: string | number, dest: string | number, mode: number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function copyFileSync(src: string | number, dest: string | number, mode?: number): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function createStreamSync(path: string, mode: string): Stream; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdatasync(fd: number): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdatasyncSync(fd: number): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fsync(fd: number): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function fsyncSync(fd: number): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function listFile(path: string, options?: { recursion?: boolean; listNum?: number; filter?: Filter; }): Promise<string[]>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function listFile(path: string, callback: AsyncCallback<string[]>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function listFile(path: string, options: { recursion?: boolean; listNum?: number; filter?: Filter; }, callback: AsyncCallback<string[]>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function listFileSync(path: string, options?: { recursion?: boolean; listNum?: number; filter?: Filter; }): string[]; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function lstat(path: string): Promise<Stat>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function lstatSync(path: string): Stat; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdir(path: string): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdirSync(path: string): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdtemp(prefix: string): Promise<string>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function mkdtempSync(prefix: string): string; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function moveFile(src: string, dest: string, mode?: number): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function moveFileSync(src: string, dest: string, mode?: number): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function open(path: string, mode?: number): Promise<File>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function open(path: string, callback: AsyncCallback<File>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function open(path: string, mode: number, callback: AsyncCallback<File>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function openSync(path: string, mode?: number): File; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): Promise<number>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options: { offset?: number; length?: number; }, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function readText(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): Promise<string>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function readText(filePath: string, callback: AsyncCallback<string>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function readText(filePath: string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback<string>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function readTextSync(filePath: string, options?: { offset?: number; length?: number; encoding?: string; }): string; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function renameSync(oldPath: string, newPath: string): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function rmdir(path: string): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function rmdirSync(path: string): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function stat(file: string | number): Promise<Stat>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function stat(file: string | number, callback: AsyncCallback<Stat>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function statSync(file: string | number): Stat; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function symlinkSync(target: string, srcPath: string): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function truncate(file: string | number, len?: number): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function truncate(file: string | number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function truncate(file: string | number, len: number, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function truncateSync(file: string | number, len?: number): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function unlink(path: string): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function unlinkSync(path: string): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; encoding?: string; }): Promise<number>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: fileIo Method or attribute name: function writeSync(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; encoding?: string; }): number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: readonly fd: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: lock(exclusive?: boolean): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: lock(callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: tryLock(exclusive?: boolean): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: File Method or attribute name: unlock(): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly ino: bigint; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly mode: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly uid: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly gid: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly size: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly atime: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly mtime: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: readonly ctime: number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isBlockDevice(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isCharacterDevice(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isDirectory(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isFIFO(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isFile(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isSocket(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stat Method or attribute name: isSymbolicLink(): boolean; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: close(): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: close(callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: closeSync(): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: flush(): Promise<void>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: flush(callback: AsyncCallback<void>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: flushSync(): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: write(buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; encoding?: string; }): Promise<number>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: write(buffer: ArrayBuffer | string, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: write(buffer: ArrayBuffer | string, options: { offset?: number; length?: number; encoding?: string; }, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: writeSync(buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; encoding?: string; }): number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: read(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): Promise<number>; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: read(buffer: ArrayBuffer, options: { offset?: number; length?: number; }, callback: AsyncCallback<number>): void; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.fs Class name: Stream Method or attribute name: readSync(buffer: ArrayBuffer, options?: { offset?: number; length?: number; }): number; |
@ohos.file.fs.d.ts |
Added | NA | Module name: ohos.file.hash Class name: hash |
@ohos.file.hash.d.ts |
Added | NA | Module name: ohos.file.hash Class name: hash Method or attribute name: function hash(path: string, algorithm: string): Promise<string>; |
@ohos.file.hash.d.ts |
Added | NA | Module name: ohos.file.hash Class name: hash Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void; |
@ohos.file.hash.d.ts |
Added | NA | Module name: ohos.file.picker Class name: picker |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewMIMETypes |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewMIMETypes Method or attribute name: IMAGE_TYPE = "image/*" |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewMIMETypes Method or attribute name: VIDEO_TYPE = "video/*" |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewMIMETypes Method or attribute name: IMAGE_VIDEO_TYPE = "/" |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectOptions Method or attribute name: MIMEType?: PhotoViewMIMETypes; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectOptions Method or attribute name: maxSelectNumber?: number; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectResult |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectResult Method or attribute name: photoUris: Array<string>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSelectResult Method or attribute name: isOriginalPhoto: boolean; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSaveOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoSaveOptions Method or attribute name: newFileNames?: Array<string>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: select(option?: PhotoSelectOptions) : Promise<PhotoSelectResult>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback<PhotoSelectResult>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: select(callback: AsyncCallback<PhotoSelectResult>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: save(option?: PhotoSaveOptions) : Promise<Array<string>>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: save(option: PhotoSaveOptions, callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: PhotoViewPicker Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentSelectOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentSaveOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentSaveOptions Method or attribute name: newFileNames?: Array<string>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: select(option?: DocumentSelectOptions) : Promise<Array<string>>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: select(option: DocumentSelectOptions, callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: select(callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: save(option?: DocumentSaveOptions) : Promise<Array<string>>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: save(option: DocumentSaveOptions, callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: DocumentViewPicker Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioSelectOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioSaveOptions |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioSaveOptions Method or attribute name: newFileNames?: Array<string>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: select(option?: AudioSelectOptions) : Promise<Array<string>>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: select(option: AudioSelectOptions, callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: select(callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: save(option?: AudioSaveOptions) : Promise<Array<string>>; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: save(option: AudioSaveOptions, callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.picker Class name: AudioViewPicker Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void; |
@ohos.file.picker.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: DataLevel Method or attribute name: type DataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: DataLevel Method or attribute name: type DataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: DataLevel Method or attribute name: type DataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: DataLevel Method or attribute name: type DataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: DataLevel Method or attribute name: type DataLevel = 's0'|'s1'|'s2'|'s3'|'s4'; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function setSecurityLabel(path: string, type: DataLevel): Promise<void>; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback<void>): void; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function setSecurityLabelSync(path: string, type: DataLevel): void; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function getSecurityLabel(path: string): Promise<string>; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.securityLabel Class name: securityLabel Method or attribute name: function getSecurityLabelSync(path: string): string; |
@ohos.file.securityLabel.d.ts |
Added | NA | Module name: ohos.file.statvfs Class name: statfs |
@ohos.file.statvfs.d.ts |
Added | NA | Module name: ohos.file.statvfs Class name: statfs Method or attribute name: function getFreeSize(path: string): Promise<number>; |
@ohos.file.statvfs.d.ts |
Added | NA | Module name: ohos.file.statvfs Class name: statfs Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void; |
@ohos.file.statvfs.d.ts |
Added | NA | Module name: ohos.file.statvfs Class name: statfs Method or attribute name: function getTotalSize(path: string): Promise<number>; |
@ohos.file.statvfs.d.ts |
Added | NA | Module name: ohos.file.statvfs Class name: statfs Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void; |
@ohos.file.statvfs.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: BundleStats |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: BundleStats Method or attribute name: appSize: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: BundleStats Method or attribute name: cacheSize: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: BundleStats Method or attribute name: dataSize: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback<BundleStats>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getCurrentBundleStats(): Promise<BundleStats>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getSystemSize(callback: AsyncCallback<number>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getSystemSize(): Promise<number>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: total: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: audio: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: video: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: image: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: file: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: StorageStats Method or attribute name: app: number; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getUserStorageStats(): Promise<StorageStats>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getUserStorageStats(userId: number): Promise<StorageStats>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSize(callback: AsyncCallback<number>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSize(): Promise<number>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSize(callback: AsyncCallback<number>): void; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSize(): Promise<number>; |
@ohos.file.storageStatistics.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: id: string; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: uuid: string; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: diskId: string; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: description: string; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: removable: boolean; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: state: number; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: Volume Method or attribute name: path: string; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getAllVolumes(callback: AsyncCallback<Array<Volume>>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function mount(volumeId: string, callback: AsyncCallback<void>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function mount(volumeId: string): Promise<void>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback<void>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function unmount(volumeId: string): Promise<void>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback<Volume>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback<Volume>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback<void>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback<void>): void; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.file.volumeManager Class name: volumeManager Method or attribute name: function partition(diskId: string, type: number): Promise<void>; |
@ohos.file.volumeManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: userFileManager |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ChangeEvent Method or attribute name: type ChangeEvent = 'deviceChange' | 'albumChange' | 'imageChange' | 'audioChange' | 'videoChange' | 'remoteFileChange'; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: userFileManager Method or attribute name: function getUserFileMgr(context: Context): UserFileManager; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileType |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: IMAGE = 1 |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: VIDEO |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileType Method or attribute name: AUDIO |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: readonly uri: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: readonly fileType: FileType; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: displayName: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: get(member: string): MemberType; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: set(member: string, value: string): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: commitModify(callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: commitModify(): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: open(mode: string, callback: AsyncCallback<number>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: open(mode: string): Promise<number>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: close(fd: number, callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: close(fd: number): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail(callback: AsyncCallback<image.PixelMap>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback<image.PixelMap>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: getThumbnail(size?: image.Size): Promise<image.PixelMap>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FileAsset Method or attribute name: favorite(isFavorite: boolean): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: URI |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DISPLAY_NAME |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DATE_ADDED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DATE_MODIFIED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: TITLE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: ARTIST |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: AUDIOALBUM |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: DURATION |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AudioKey Method or attribute name: FAVORITE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: URI |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: FILE_TYPE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DISPLAY_NAME |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_ADDED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_MODIFIED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: TITLE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DURATION |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: WIDTH |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: HEIGHT |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: DATE_TAKEN |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: ORIENTATION |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: ImageVideoKey Method or attribute name: FAVORITE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: URI |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: FILE_TYPE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: ALBUM_NAME |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: DATE_ADDED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumKey Method or attribute name: DATE_MODIFIED |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchOptions |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchOptions Method or attribute name: fetchColumns: Array<string>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchOptions Method or attribute name: predicates: dataSharePredicates.DataSharePredicates; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumFetchOptions |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AlbumFetchOptions Method or attribute name: predicates: dataSharePredicates.DataSharePredicates; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getCount(): number; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: isAfterLast(): boolean; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: close(): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getFirstObject(callback: AsyncCallback<T>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getFirstObject(): Promise<T>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getNextObject(callback: AsyncCallback<T>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getNextObject(): Promise<T>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getLastObject(callback: AsyncCallback<T>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getLastObject(): Promise<T>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getPositionObject(index: number, callback: AsyncCallback<T>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: FetchResult Method or attribute name: getPositionObject(index: number): Promise<T>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: albumName: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: readonly albumUri: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: readonly dateModified: number; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: readonly count: number; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: readonly coverUri: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: AbsAlbum Method or attribute name: getPhotoAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: Album |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: Album Method or attribute name: commitModify(callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: Album Method or attribute name: commitModify(): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset(displayName: string, albumUri: string, callback: AsyncCallback<FileAsset>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset(displayName: string, callback: AsyncCallback<FileAsset>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: createPhotoAsset(displayName: string, albumUri?: string): Promise<FileAsset>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions, callback: AsyncCallback<FetchResult<Album>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions): Promise<FetchResult<Album>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPrivateAlbum(type: PrivateAlbumType, callback: AsyncCallback<FetchResult<PrivateAlbum>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getPrivateAlbum(type: PrivateAlbumType): Promise<FetchResult<PrivateAlbum>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAudioAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAudioAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: delete(uri: string, callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: delete(uri: string): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getActivePeers(callback: AsyncCallback<Array<PeerInfo>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getActivePeers(): Promise<Array<PeerInfo>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAllPeers(callback: AsyncCallback<Array<PeerInfo>>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: getAllPeers(): Promise<Array<PeerInfo>>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: release(callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: UserFileManager Method or attribute name: release(): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PeerInfo |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: readonly deviceName: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: readonly networkId: string; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PeerInfo Method or attribute name: readonly isOnline: boolean; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType Method or attribute name: TYPE_FAVORITE |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbumType Method or attribute name: TYPE_TRASH |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: delete(uri: string, callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: delete(uri: string): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: recover(uri: string, callback: AsyncCallback<void>): void; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.filemanagement.userFileManager Class name: PrivateAlbum Method or attribute name: recover(uri: string): Promise<void>; |
@ohos.filemanagement.userFileManager.d.ts |
Added | NA | Module name: ohos.fileshare Class name: fileShare |
@ohos.fileshare.d.ts |
Added | NA | Module name: ohos.fileshare Class name: fileShare Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags, callback: AsyncCallback<void>): void; |
@ohos.fileshare.d.ts |
Added | NA | Module name: ohos.fileshare Class name: fileShare Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>; |
@ohos.fileshare.d.ts |
Deleted | Module name: ohos.environment Class name: Environment |
NA | @ohos.environment.d.ts |
Deleted | Module name: ohos.environment Class name: Environment Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void; |
NA | @ohos.environment.d.ts |
Deleted | Module name: ohos.environment Class name: Environment Method or attribute name: function getStorageDataDir(): Promise<string>; |
NA | @ohos.environment.d.ts |
Deleted | Module name: ohos.environment Class name: Environment Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void; |
NA | @ohos.environment.d.ts |
Deleted | Module name: ohos.environment Class name: Environment Method or attribute name: function getUserDataDir(): Promise<string>; |
NA | @ohos.environment.d.ts |
Deleted | Module name: ohos.storageStatistics Class name: storageStatistics |
NA | @ohos.storageStatistics.d.ts |
Deleted | Module name: ohos.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void; |
NA | @ohos.storageStatistics.d.ts |
Deleted | Module name: ohos.storageStatistics Class name: storageStatistics Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>; |
NA | @ohos.storageStatistics.d.ts |
Deleted | Module name: ohos.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void; |
NA | @ohos.storageStatistics.d.ts |
Deleted | Module name: ohos.storageStatistics Class name: storageStatistics Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>; |
NA | @ohos.storageStatistics.d.ts |
Deprecated version changed | Class name: document Method or attribute name: function choose(types?: string[]): Promise<string>; Deprecated version: N/A |
Class name: document Method or attribute name: function choose(types?: string[]): Promise<string>; Deprecated version: 9 Substitute API: N/A |
@ohos.document.d.ts |
Deprecated version changed | Class name: document Method or attribute name: function choose(callback: AsyncCallback<string>): void; Deprecated version: N/A |
Class name: document Method or attribute name: function choose(callback: AsyncCallback<string>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.document.d.ts |
Deprecated version changed | Class name: document Method or attribute name: function choose(types: string[], callback: AsyncCallback<string>): void; Deprecated version: N/A |
Class name: document Method or attribute name: function choose(types: string[], callback: AsyncCallback<string>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.document.d.ts |
Deprecated version changed | Class name: document Method or attribute name: function show(uri: string, type: string): Promise<void>; Deprecated version: N/A |
Class name: document Method or attribute name: function show(uri: string, type: string): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.document.d.ts |
Deprecated version changed | Class name: document Method or attribute name: function show(uri: string, type: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: document Method or attribute name: function show(uri: string, type: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.document.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function access(path: string, mode?: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function access(path: string, mode?: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.access |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function access(path: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.access |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.access |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function accessSync(path: string, mode?: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function accessSync(path: string, mode?: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.accessSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function close(fd: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function close(fd: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.close |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function close(fd: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.close |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function closeSync(fd: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function closeSync(fd: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.closeSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, mode?: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, mode?: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.copyFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.copyFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, mode: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function copyFile(src: string | number, dest: string | number, mode: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.copyFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function copyFileSync(src: string | number, dest: string | number, mode?: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function copyFileSync(src: string | number, dest: string | number, mode?: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.copyFileSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function createStream(path: string, mode: string): Promise<Stream>; Deprecated version: 9 Substitute API: ohos.file.fs.createStream |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void; Deprecated version: 9 Substitute API: ohos.file.fs.createStream |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function createStreamSync(path: string, mode: string): Stream; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function createStreamSync(path: string, mode: string): Stream; Deprecated version: 9 Substitute API: ohos.file.fs.createStreamSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chown(path: string, uid: number, gid: number): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chownSync(path: string, uid: number, gid: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chownSync(path: string, uid: number, gid: number): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chmod(path: string, mode: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chmod(path: string, mode: number): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function chmodSync(path: string, mode: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function chmodSync(path: string, mode: number): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function ftruncate(fd: number, len?: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function ftruncate(fd: number, len?: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function ftruncate(fd: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function ftruncate(fd: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function ftruncateSync(fd: number, len?: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function ftruncateSync(fd: number, len?: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncateSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fsync(fd: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fsync(fd: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.fsync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fsync(fd: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.fsync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fsyncSync(fd: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fsyncSync(fd: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.fsyncSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fstat(fd: number): Promise<Stat>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fstat(fd: number): Promise<Stat>; Deprecated version: 9 Substitute API: ohos.file.fs.stat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fstat(fd: number, callback: AsyncCallback<Stat>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fstat(fd: number, callback: AsyncCallback<Stat>): void; Deprecated version: 9 Substitute API: ohos.file.fs.stat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fstatSync(fd: number): Stat; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fstatSync(fd: number): Stat; Deprecated version: 9 Substitute API: ohos.file.fs.statSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdatasync(fd: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdatasync(fd: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.fdatasync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.fdatasync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdatasyncSync(fd: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdatasyncSync(fd: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.fdatasyncSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchownSync(fd: number, uid: number, gid: number): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchmod(fd: number, mode: number): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fchmodSync(fd: number, mode: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fchmodSync(fd: number, mode: number): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdopenStream(fd: number, mode: string): Promise<Stream>; Deprecated version: 9 Substitute API: ohos.file.fs.fdopenStream |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void; Deprecated version: 9 Substitute API: ohos.file.fs.fdopenStream |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream; Deprecated version: 9 Substitute API: ohos.file.fs.fdopenStreamSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function hash(path: string, algorithm: string): Promise<string>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function hash(path: string, algorithm: string): Promise<string>; Deprecated version: 9 Substitute API: ohos.file.hash.hash |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void; Deprecated version: 9 Substitute API: ohos.file.hash.hash |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise<void>; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lchownSync(path: string, uid: number, gid: number): void; Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lstat(path: string): Promise<Stat>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lstat(path: string): Promise<Stat>; Deprecated version: 9 Substitute API: ohos.file.fs.lstat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lstat(path: string, callback: AsyncCallback<Stat>): void; Deprecated version: 9 Substitute API: ohos.file.fs.lstat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function lstatSync(path: string): Stat; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function lstatSync(path: string): Stat; Deprecated version: 9 Substitute API: ohos.file.fs.lstatSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdir(path: string, mode?: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.mkdir |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdir(path: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.mkdir |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.mkdir |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdirSync(path: string, mode?: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdirSync(path: string, mode?: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.mkdirSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdtemp(prefix: string): Promise<string>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdtemp(prefix: string): Promise<string>; Deprecated version: 9 Substitute API: ohos.file.fs.mkdtemp |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback<string>): void; Deprecated version: 9 Substitute API: ohos.file.fs.mkdtemp |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function mkdtempSync(prefix: string): string; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function mkdtempSync(prefix: string): string; Deprecated version: 9 Substitute API: ohos.file.fs.mkdtempSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function open(path: string, flags?: number, mode?: number): Promise<number>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function open(path: string, flags?: number, mode?: number): Promise<number>; Deprecated version: 9 Substitute API: ohos.file.fs.open |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function open(path: string, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function open(path: string, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.fs.open |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function open(path: string, flags: number, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function open(path: string, flags: number, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.fs.open |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.fs.open |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function openSync(path: string, flags?: number, mode?: number): number; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function openSync(path: string, flags?: number, mode?: number): number; Deprecated version: 9 Substitute API: ohos.file.fs.openSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function opendir(path: string): Promise<Dir>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function opendir(path: string): Promise<Dir>; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function opendir(path: string, callback: AsyncCallback<Dir>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function opendir(path: string, callback: AsyncCallback<Dir>): void; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function opendirSync(path: string): Dir; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function opendirSync(path: string): Dir; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise<string>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function readText(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): Promise<string>; Deprecated version: 9 Substitute API: ohos.file.fs.readText |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback<string>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function readText(filePath: string, options: { position?: number; length?: number; encoding?: string; }, callback: AsyncCallback<string>): void; Deprecated version: 9 Substitute API: ohos.file.fs.readText |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function readTextSync(filePath: string, options?: { position?: number; length?: number; encoding?: string; }): string; Deprecated version: 9 Substitute API: ohos.file.fs.readTextSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): Promise<ReadOut> Deprecated version: N/A |
Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): Promise<ReadOut> Deprecated version: 9 Substitute API: ohos.file.fs.read |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void; Deprecated version: 9 Substitute API: ohos.file.fs.read |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options: { offset?: number; length?: number; position?: number; }, callback: AsyncCallback<ReadOut>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function read(fd: number, buffer: ArrayBuffer, options: { offset?: number; length?: number; position?: number; }, callback: AsyncCallback<ReadOut>): void; Deprecated version: 9 Substitute API: ohos.file.fs.read |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function readSync(fd: number, buffer: ArrayBuffer, options?: { offset?: number; length?: number; position?: number; }): number; Deprecated version: 9 Substitute API: ohos.file.fs.readSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function rename(oldPath: string, newPath: string): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.rename |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.rename |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function renameSync(oldPath: string, newPath: string): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function renameSync(oldPath: string, newPath: string): void; Deprecated version: 9 Substitute API: ohos.file.fs.renameSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function rmdir(path: string): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function rmdir(path: string): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.rmdir |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function rmdir(path: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.rmdir |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function rmdirSync(path: string): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function rmdirSync(path: string): void; Deprecated version: 9 Substitute API: ohos.file.fs.rmdirSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function stat(path: string): Promise<Stat>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function stat(path: string): Promise<Stat>; Deprecated version: 9 Substitute API: ohos.file.fs.stat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function stat(path: string, callback: AsyncCallback<Stat>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function stat(path: string, callback: AsyncCallback<Stat>): void; Deprecated version: 9 Substitute API: ohos.file.fs.stat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function statSync(path: string): Stat; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function statSync(path: string): Stat; Deprecated version: 9 Substitute API: ohos.file.fs.statSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function symlink(target: string, srcPath: string): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.symlink |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.symlink |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function symlinkSync(target: string, srcPath: string): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function symlinkSync(target: string, srcPath: string): void; Deprecated version: 9 Substitute API: ohos.file.fs.symlinkSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function truncate(path: string, len?: number): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function truncate(path: string, len?: number): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function truncate(path: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function truncate(path: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function truncate(path: string, len: number, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function truncate(path: string, len: number, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncate |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function truncateSync(path: string, len?: number): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function truncateSync(path: string, len?: number): void; Deprecated version: 9 Substitute API: ohos.file.fs.truncateSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function unlink(path: string): Promise<void>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function unlink(path: string): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.unlink |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function unlink(path: string, callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.unlink |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function unlinkSync(path: string): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function unlinkSync(path: string): void; Deprecated version: 9 Substitute API: ohos.file.fs.unlinkSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise<number>; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): Promise<number>; Deprecated version: 9 Substitute API: ohos.file.fs.write |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.fs.write |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function write(fd: number, buffer: ArrayBuffer | string, options: { offset?: number; length?: number; position?: number; encoding?: string; }, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.fs.write |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: fileIO Method or attribute name: function writeSync(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number; Deprecated version: N/A |
Class name: fileIO Method or attribute name: function writeSync(fd: number, buffer: ArrayBuffer | string, options?: { offset?: number; length?: number; position?: number; encoding?: string; }): number; Deprecated version: 9 Substitute API: ohos.file.fs.writeSync |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: read(): Promise<Dirent>; Deprecated version: N/A |
Class name: Dir Method or attribute name: read(): Promise<Dirent>; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: read(callback: AsyncCallback<Dirent>): void; Deprecated version: N/A |
Class name: Dir Method or attribute name: read(callback: AsyncCallback<Dirent>): void; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: readSync(): Dirent; Deprecated version: N/A |
Class name: Dir Method or attribute name: readSync(): Dirent; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: close(): Promise<void>; Deprecated version: N/A |
Class name: Dir Method or attribute name: close(): Promise<void>; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: close(callback: AsyncCallback<void>): void; Deprecated version: N/A |
Class name: Dir Method or attribute name: close(callback: AsyncCallback<void>): void; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dir Method or attribute name: closeSync(): void; Deprecated version: N/A |
Class name: Dir Method or attribute name: closeSync(): void; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Deprecated version: N/A |
Class name: Dirent Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: readonly name: string; Deprecated version: N/A |
Class name: Dirent Method or attribute name: readonly name: string; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isBlockDevice(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isBlockDevice(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isCharacterDevice(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isCharacterDevice(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isDirectory(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isDirectory(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isFIFO(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isFIFO(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isFile(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isFile(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isSocket(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isSocket(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Dirent Method or attribute name: isSymbolicLink(): boolean; Deprecated version: N/A |
Class name: Dirent Method or attribute name: isSymbolicLink(): boolean; Deprecated version: 9 Substitute API: ohos.file.fs.listFile |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Stat Deprecated version: N/A |
Class name: Stat Deprecated version: 9 Substitute API: ohos.file.fs.Stat |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Stream Deprecated version: N/A |
Class name: Stream Deprecated version: 9 Substitute API: ohos.file.fs.Stream |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: ReadOut Deprecated version: N/A |
Class name: ReadOut Deprecated version: 9 Substitute API: N/A |
@ohos.fileio.d.ts |
Deprecated version changed | Class name: Statfs Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: Statfs Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.statvfs.getFreeSize |
@ohos.statfs.d.ts |
Deprecated version changed | Class name: Statfs Method or attribute name: function getFreeBytes(path: string): Promise<number>; Deprecated version: N/A |
Class name: Statfs Method or attribute name: function getFreeBytes(path: string): Promise<number>; Deprecated version: 9 Substitute API: ohos.file.statvfs.getFreeSize |
@ohos.statfs.d.ts |
Deprecated version changed | Class name: Statfs Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void; Deprecated version: N/A |
Class name: Statfs Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void; Deprecated version: 9 Substitute API: ohos.file.statvfs.getTotalSize |
@ohos.statfs.d.ts |
Deprecated version changed | Class name: Statfs Method or attribute name: function getTotalBytes(path: string): Promise<number>; Deprecated version: N/A |
Class name: Statfs Method or attribute name: function getTotalBytes(path: string): Promise<number>; Deprecated version: 9 Substitute API: ohos.file.statvfs.getTotalSize |
@ohos.statfs.d.ts |
Initial version changed | Class name: fileIO Method or attribute name: function opendirSync(path: string): Dir; Initial version: N/A |
Class name: fileIO Method or attribute name: function opendirSync(path: string): Dir; Initial version: 6 |
@ohos.fileio.d.ts |