harmony 鸿蒙js-apidiff-file-management

  • 2023-06-24
  • 浏览 (318)

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;
@ohos.file.environment.d.ts
Added NA Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(callback: AsyncCallback): void;
@ohos.file.environment.d.ts
Added NA Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getUserDataDir(): Promise;
@ohos.file.environment.d.ts
Added NA Module name: ohos.file.environment
Class name: Environment
Method or attribute name: function getUserDataDir(callback: AsyncCallback): 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>): void;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(): Promise>;
@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): 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;
@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) : 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;
@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) : 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;
@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) : void;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string) : Promise;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string, callback: AsyncCallback) : 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;
@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) : 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;
@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) : void;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string) : Promise;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback) : void;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(): Promise;
@ohos.file.fileAccess.d.ts
Added NA Module name: ohos.file.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(callback:AsyncCallback) : 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 Class name: fileIo
Method or attribute name: function access(path: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function access(path: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function accessSync(path: string): boolean;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function close(file: number |File): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function close(file: number |File, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function closeSync(fd: number |File): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function copyFile(src: string |number, dest: string |number, mode?: number): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function copyFile(src: string |number, dest: string |number, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA 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 Class name: fileIo
Method or attribute name: function createStream(path: string, mode: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function createStreamSync(path: string, mode: string): Stream;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdatasync(fd: number): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdatasyncSync(fd: number): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdopenStream(fd: number, mode: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fdopenStreamSync(fd: number, mode: string): Stream;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fsync(fd: number): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fsync(fd: number, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function fsyncSync(fd: number): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function lstat(path: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function lstat(path: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function lstatSync(path: string): Stat;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdir(path: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdir(path: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdirSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdtemp(prefix: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function mkdtempSync(prefix: string): string;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function readText(filePath: string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function readText(filePath: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function readText(filePath: string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA 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 Class name: fileIo
Method or attribute name: function rename(oldPath: string, newPath: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function renameSync(oldPath: string, newPath: string): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function rmdir(path: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function rmdir(path: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function rmdirSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function symlink(target: string, srcPath: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function symlinkSync(target: string, srcPath: string): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function unlink(path: string): Promise;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function unlink(path: string, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: fileIo
Method or attribute name: function unlinkSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: Stat
Method or attribute name: readonly ino: bigint;
@ohos.file.fs.d.ts
Added NA Module name: ohos.file.fs
Class name: Stream
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name:
@ohos.file.fs.d.ts
Added NA Module name: ohos.file.fs
Class name: Stream
Method or attribute name: close(): Promise;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: close(): Promise;
@ohos.file.fs.d.ts
Added NA Module name: ohos.file.fs
Class name: Stream
Method or attribute name: close(callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: close(callback: AsyncCallback): 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 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;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: flush(): Promise;
@ohos.file.fs.d.ts
Added NA Module name: ohos.file.fs
Class name: Stream
Method or attribute name: flush(callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: flush(callback: AsyncCallback): 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 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;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise;
@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): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback): 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): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: write(buffer: ArrayBuffer |string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback): 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 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;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): Promise;
@ohos.file.fs.d.ts
Added NA Module name: ohos.file.fs
Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback): 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): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream
Method or attribute name: read(buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
}, callback: AsyncCallback): 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 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;
@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): void;
@ohos.file.hash.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;
@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;
@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;
@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): 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;
@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): 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;
@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): void;
@ohos.file.statvfs.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;
@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;
@ohos.fileshare.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: fileAccess
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback>): void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function getFileAccessAbilityInfo(): Promise>;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: fileAccess
Method or attribute name: function createFileAccessHelper(context: Context, wants: Array): FileAccessHelper;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: uri: string;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: fileName: string;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mode: number;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: size: number;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mtime: number;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: mimeType: string;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileIterator
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileIterator
Method or attribute name: next(): {value: FileInfo, done: boolean}
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: deviceType: number;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: uri: string;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: displayName: string;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: deviceFlags: number;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: listFile(filter?: Filter): FileIterator;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootInfo
Method or attribute name: scanFile(filter?: Filter): FileIterator;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootIterator
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: RootIterator
Method or attribute name: next(): {value: RootInfo, done: boolean}
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: OPENFLAGS
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: READ = 0o0
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE = 0o1
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: OPENFLAGS
Method or attribute name: WRITE_READ = 0o2
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: delete(uri: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string) : Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback) : void;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(): Promise;
NA @ohos.data.fileAccess.d.ts
Deleted Module name: ohos.data.fileAccess
Class name: FileAccessHelper
Method or attribute name: getRoots(callback:AsyncCallback) : void;
NA @ohos.data.fileAccess.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): void;
NA @ohos.environment.d.ts
Deleted Module name: ohos.environment
Class name: Environment
Method or attribute name: function getStorageDataDir(): Promise;
NA @ohos.environment.d.ts
Deleted Module name: ohos.environment
Class name: Environment
Method or attribute name: function getUserDataDir(callback: AsyncCallback): void;
NA @ohos.environment.d.ts
Deleted Module name: ohos.environment
Class name: Environment
Method or attribute name: function getUserDataDir(): Promise;
NA @ohos.environment.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: fileExtensionInfo
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_LOCAL_DISK = 1
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_DISK
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_SHARED_TERMINAL
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_MTP
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_USB
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceType
Method or attribute name: DEVICE_EXTERNAL_CLOUD
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceFlag
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_READ = 0b1;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DeviceFlag
Method or attribute name: const SUPPORTS_WRITE = 0b10;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_FILE = 0b1;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const REPRESENTS_DIR = 0b10;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_READ = 0b100;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.fileExtensionInfo
Class name: DocumentFlag
Method or attribute name: const SUPPORTS_WRITE = 0b1000;
NA @ohos.fileExtensionInfo.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: dataLevel
Method or attribute name: type dataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback): void;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabel(path:string, type:dataLevel): Promise;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function setSecurityLabelSync(path:string, type:dataLevel): void;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path:string, callback: AsyncCallback): void;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabel(path:string): Promise;
NA @ohos.securityLabel.d.ts
Deleted Module name: ohos.securityLabel
Class name: securityLabel
Method or attribute name: function getSecurityLabelSync(path:string): string;
NA @ohos.securityLabel.d.ts
Deprecated version changed Class name: fileIO
Method or attribute name: function access(path: string, mode?: number): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function access(path: string, mode?: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function access(path: string, callback: AsyncCallback): void;
Deprecated version: 9
@ohos.fileio.d.ts
Deprecated version changed Class name: fileIO
Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function access(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function close(fd: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function close(fd: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function copyFile(src: string |number, dest: string |number, mode?: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function copyFile(src: string |number, dest: string |number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string): Promise;
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): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function createStream(path: string, mode: string, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function chown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function chmod(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9
@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 fsync(fd: number): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fsync(fd: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fsync(fd: number, callback: AsyncCallback): void;
Deprecated version: 9
@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 fdatasync(fd: number): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fdatasync(fd: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fdatasync(fd: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fchmod(fd: number, mode: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string): Promise;
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): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function fdopenStream(fd: number, mode: string, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string): Promise;
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): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback): void;
Deprecated version: 9
@ohos.fileio.d.ts
Deprecated version changed Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function lchown(path: string, uid: number, gid: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function lstat(path: string): Promise;
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): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function lstat(path: string, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function mkdir(path: string, mode?: number): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function mkdir(path: string, callback: AsyncCallback): void;
Deprecated version: 9
@ohos.fileio.d.ts
Deprecated version changed Class name: fileIO
Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function mkdir(path: string, mode: number, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string): Promise;
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): void;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function mkdtemp(prefix: string, callback: AsyncCallback): void;
Deprecated version: 9
@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 readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise;
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): 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): void;
Deprecated version: 9
@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 rename(oldPath: string, newPath: string): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function rename(oldPath: string, newPath: string, callback: AsyncCallback): void;
Deprecated version: 9
@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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function rmdir(path: string): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function rmdir(path: string, callback: AsyncCallback): void;
Deprecated version: 9
@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 symlink(target: string, srcPath: string): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function symlink(target: string, srcPath: string, callback: AsyncCallback): void;
Deprecated version: 9
@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 unlink(path: string): Promise;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function unlink(path: string): Promise;
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;
Deprecated version: N/A
Class name: fileIO
Method or attribute name: function unlink(path: string, callback: AsyncCallback): void;
Deprecated version: 9
@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: 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: Statfs
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: Statfs
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback): 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;
Deprecated version: N/A
Class name: Statfs
Method or attribute name: function getFreeBytes(path: string): Promise;
Deprecated version: 9
@ohos.statfs.d.ts
Deprecated version changed Class name: Statfs
Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: Statfs
Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback): 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;
Deprecated version: N/A
Class name: Statfs
Method or attribute name: function getTotalBytes(path: string): Promise;
Deprecated version: 9
@ohos.statfs.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-distributed-data

0  赞