harmony 鸿蒙js-apidiff-file-management

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

Change Type Old Version New Version d.ts File
Deleted Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
NA @ohos.environment.d.ts
Deleted Class name: Environment;
Method or attribute name: function getStorageDataDir(): Promise<string>;
NA @ohos.environment.d.ts
Deleted Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
NA @ohos.environment.d.ts
Deleted Class name: Environment;
Method or attribute name: function getUserDataDir(): Promise<string>;
NA @ohos.environment.d.ts
Deleted Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
NA @ohos.storageStatistics.d.ts
Deleted Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
NA @ohos.storageStatistics.d.ts
Deleted Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
NA @ohos.storageStatistics.d.ts
Deleted Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
NA @ohos.storageStatistics.d.ts
Added NA Class name: Environment;
Method or attribute name: function getStorageDataDir(): Promise<string>;
@ohos.file.environment.d.ts
Added NA Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
@ohos.file.environment.d.ts
Added NA Class name: Environment;
Method or attribute name: function getUserDataDir(): Promise<string>;
@ohos.file.environment.d.ts
Added NA Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
@ohos.file.environment.d.ts
Added NA Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback<Array<Want>>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
@ohos.file.fileAccess.d.ts
Added NA Class name: fileAccess;
Method or attribute name: function createFileAccessHelper(context: Context): FileAccessHelper;
@ohos.file.fileAccess.d.ts
Added NA Class name: fileAccess;
Method or attribute name: function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: uri: string;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: uri: string;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: fileName: string;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: mode: number;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: size: number;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: mtime: number;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: mimeType: string;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: listFile(filter?: Filter): FileIterator;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: listFile(filter?: Filter): FileIterator;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileInfo;
Method or attribute name: scanFile(filter?: Filter): FileIterator;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: scanFile(filter?: Filter): FileIterator;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileIterator;
Method or attribute name: next(): {value: FileInfo, done: boolean}
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: deviceType: number;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: displayName: string;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootInfo;
Method or attribute name: deviceFlags: number;
@ohos.file.fileAccess.d.ts
Added NA Class name: RootIterator;
Method or attribute name: next(): {value: RootInfo, done: boolean}
@ohos.file.fileAccess.d.ts
Added NA Class name: OPENFLAGS;
Method or attribute name: READ = 0o0
@ohos.file.fileAccess.d.ts
Added NA Class name: OPENFLAGS;
Method or attribute name: WRITE = 0o1
@ohos.file.fileAccess.d.ts
Added NA Class name: OPENFLAGS;
Method or attribute name: WRITE_READ = 0o2
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS) : Promise<number>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string) : Promise<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: delete(uri: string) : Promise<number>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string) : Promise<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string) : Promise<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string) : Promise<boolean>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getRoots(): Promise<RootIterator>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getRoots(callback:AsyncCallback<RootIterator>) : void;
@ohos.file.fileAccess.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_LOCAL_DISK = 1
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_DISK
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_TERMINAL
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_MTP
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_USB
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_CLOUD
@ohos.file.fileExtensionInfo.d.ts
Added NA Class name: fileUri;
Method or attribute name: function getUriFromPath(path: string): string;
@ohos.file.fileuri.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function access(path: string): Promise<boolean>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<boolean>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function accessSync(path: string): boolean;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function close(file: number |File): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function close(file: number |File, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function closeSync(fd: number |File): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode?: number): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function copyFileSync(src: string |number, dest: string |number, mode?: number): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string): Promise<Stream>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdatasyncSync(fd: number): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise<Stream>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function fsyncSync(fd: number): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}): Promise<string[]>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, callback: AsyncCallback<string[]>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, options: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}, callback: AsyncCallback<string[]>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function listFileSync(path: string, options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}): string[];
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function lstat(path: string): Promise<Stat>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function lstatSync(path: string): Stat;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdirSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string): Promise<string>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function mkdtempSync(prefix: string): string;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode?: number): Promise<File>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<File>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback<File>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function openSync(path: string, mode?: number): File;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): Promise<number>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
}, callback: AsyncCallback<number>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): number;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise<string>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback<string>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback<string>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function readTextSync(filePath: string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): string;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function rmdirSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number): Promise<Stat>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number, callback: AsyncCallback<Stat>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function statSync(file: string |number): Stat;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len?: number): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len: number, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function truncateSync(file: string |number, len?: number): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function unlink(path: string): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function unlinkSync(path: string): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): Promise<number>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare 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 Class name: sourcefile;
Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
encoding?: string;
}): number;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type Filter = {
/
* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
suffix?: Array<string>;
/

* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
displayName?: Array<string>;
/
* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
mimeType?: Array<string>;
/

* @type {number}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
fileSizeOver?: number;
/
* @type {number}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
lastModifiedAfter?: number;
/

* @type {boolean}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
excludeMedia?: boolean;
}
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: readonly fd: number;
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: lock(exclusive?: boolean): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: lock(callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: tryLock(exclusive?: boolean): void;
@ohos.file.fs.d.ts
Added NA Class name: File;
Method or attribute name: unlock(): 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 Class name: Stat;
Method or attribute name: readonly mode: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly uid: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly gid: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly size: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly atime: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly mtime: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: readonly ctime: number;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isBlockDevice(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isCharacterDevice(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isDirectory(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isFIFO(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isFile(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isSocket(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stat;
Method or attribute name: isSymbolicLink(): boolean;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: close(): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: closeSync(): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: flush(): Promise<void>;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: flushSync(): 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;
}): Promise<number>;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): 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<number>): void;
@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 Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
}): Promise<number>;
@ohos.file.fs.d.ts
Added NA Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): 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<number>): void;
@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 Class name: hash;
Method or attribute name: function hash(path: string, algorithm: string): Promise<string>;
@ohos.file.hash.d.ts
Added NA Class name: hash;
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
@ohos.file.hash.d.ts
Added NA Class name: PhotoViewMIMETypes;
Method or attribute name: IMAGE_TYPE = “image/*”
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewMIMETypes;
Method or attribute name: VIDEO_TYPE = “video/*”
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewMIMETypes;
Method or attribute name: IMAGE_VIDEO_TYPE = “/
@ohos.file.picker.d.ts
Added NA Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;
@ohos.file.picker.d.ts
Added NA Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;
@ohos.file.picker.d.ts
Added NA Class name: PhotoSelectResult;
Method or attribute name: photoUris: Array<string>;
@ohos.file.picker.d.ts
Added NA Class name: PhotoSelectResult;
Method or attribute name: isOriginalPhoto: boolean;
@ohos.file.picker.d.ts
Added NA Class name: PhotoSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
@ohos.file.picker.d.ts
Added NA Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
@ohos.file.picker.d.ts
Added NA Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: select(option?: PhotoSelectOptions) : Promise<PhotoSelectResult>;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback<PhotoSelectResult>) : void;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: select(callback: AsyncCallback<PhotoSelectResult>) : void;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: save(option?: PhotoSaveOptions) : Promise<Array<string>>;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: save(option: PhotoSaveOptions, callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: save(callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: select(option?: DocumentSelectOptions) : Promise<Array<string>>;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: select(option: DocumentSelectOptions, callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: select(callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: select(callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: save(option?: DocumentSaveOptions) : Promise<Array<string>>;
@ohos.file.picker.d.ts
Added NA Class name: DocumentViewPicker;
Method or attribute name: save(option: DocumentSaveOptions, callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: select(option?: AudioSelectOptions) : Promise<Array<string>>;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: select(option: AudioSelectOptions, callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: save(option?: AudioSaveOptions) : Promise<Array<string>>;
@ohos.file.picker.d.ts
Added NA Class name: AudioViewPicker;
Method or attribute name: save(option: AudioSaveOptions, callback: AsyncCallback<Array<string>>) : void;
@ohos.file.picker.d.ts
Added NA Class name: securityLabel;
Method or attribute name: type DataLevel = ‘s0’|‘s1’|‘s2’|‘s3’|‘s4’;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function setSecurityLabel(path: string, type: DataLevel): Promise<void>;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback<void>): void;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function setSecurityLabelSync(path: string, type: DataLevel): void;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function getSecurityLabel(path: string): Promise<string>;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void;
@ohos.file.securityLabel.d.ts
Added NA Class name: securityLabel;
Method or attribute name: function getSecurityLabelSync(path: string): string;
@ohos.file.securityLabel.d.ts
Added NA Class name: statfs;
Method or attribute name: function getFreeSize(path: string): Promise<number>;
@ohos.file.statvfs.d.ts
Added NA Class name: statfs;
Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void;
@ohos.file.statvfs.d.ts
Added NA Class name: statfs;
Method or attribute name: function getTotalSize(path: string): Promise<number>;
@ohos.file.statvfs.d.ts
Added NA Class name: statfs;
Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void;
@ohos.file.statvfs.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback<BundleStats>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise<BundleStats>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getSystemSize(callback: AsyncCallback<number>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(): Promise<StorageStats>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number): Promise<StorageStats>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getTotalSize(callback: AsyncCallback<number>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getFreeSize(callback: AsyncCallback<number>): void;
@ohos.file.storageStatistics.d.ts
Added NA Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
@ohos.file.storageStatistics.d.ts
Added NA Class name: BundleStats;
Method or attribute name: appSize: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: BundleStats;
Method or attribute name: cacheSize: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: BundleStats;
Method or attribute name: dataSize: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: total: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: audio: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: video: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: image: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: file: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: StorageStats;
Method or attribute name: app: number;
@ohos.file.storageStatistics.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getAllVolumes(callback: AsyncCallback<Array<Volume>>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function mount(volumeId: string, callback: AsyncCallback<void>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback<void>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback<Volume>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback<Volume>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback<void>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback<void>): void;
@ohos.file.volumeManager.d.ts
Added NA Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: id: string;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: uuid: string;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: diskId: string;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: description: string;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: removable: boolean;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: state: number;
@ohos.file.volumeManager.d.ts
Added NA Class name: Volume;
Method or attribute name: path: string;
@ohos.file.volumeManager.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type Filter = {
/
* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
suffix: Array<string>;
/

* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
displayName?: Array<string>;
/
* @type {Array<string>}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
mimeType?: Array<string>;
/

* @type {number}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
fileSizeOver?: number;
/
* @type {number}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
lastModifiedAfter?: number;
/

* @type {boolean}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
excludeMedia?: boolean;
}
@ohos.fileio.d.ts
Added NA Class name: userFileManager;
Method or attribute name: function getUserFileMgr(context: Context): UserFileManager;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: userFileManager;
Method or attribute name: type MemberType = number |string |boolean;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: userFileManager;
Method or attribute name: type ChangeEvent = ‘deviceChange’ |‘albumChange’ |‘imageChange’ |‘audioChange’ |‘videoChange’ |‘remoteFileChange’;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileType;
Method or attribute name: IMAGE = 1
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileType;
Method or attribute name: VIDEO
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileType;
Method or attribute name: AUDIO
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: readonly uri: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: readonly fileType: FileType;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: displayName: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: get(member: string): MemberType;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: set(member: string, value: string): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: commitModify(): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: commitModify(): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback<number>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: open(mode: string): Promise<number>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: close(fd: number): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback<image.PixelMap>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback<image.PixelMap>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise<image.PixelMap>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: favorite(isFavorite: boolean): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: URI
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: URI
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumKey;
Method or attribute name: URI
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: DISPLAY_NAME
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: DISPLAY_NAME
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: DATE_ADDED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: DATE_ADDED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumKey;
Method or attribute name: DATE_ADDED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: DATE_MODIFIED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: DATE_MODIFIED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumKey;
Method or attribute name: DATE_MODIFIED
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: TITLE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: TITLE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: ARTIST
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: AUDIOALBUM
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: DURATION
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: DURATION
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AudioKey;
Method or attribute name: FAVORITE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: FAVORITE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: FILE_TYPE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumKey;
Method or attribute name: FILE_TYPE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: WIDTH
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: HEIGHT
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: DATE_TAKEN
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ImageVideoKey;
Method or attribute name: ORIENTATION
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumKey;
Method or attribute name: ALBUM_NAME
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchOptions;
Method or attribute name: fetchColumns: Array<string>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchOptions;
Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AlbumFetchOptions;
Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getCount(): number;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: isAfterLast(): boolean;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: close(): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getFirstObject(callback: AsyncCallback<T>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise<T>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback<T>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getNextObject(): Promise<T>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback<T>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getLastObject(): Promise<T>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getPositionObject(index: number, callback: AsyncCallback<T>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getPositionObject(index: number): Promise<T>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: albumName: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: readonly albumUri: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: readonly dateModified: number;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: readonly count: number;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: readonly coverUri: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: getPhotoAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, albumUri: string, callback: AsyncCallback<FileAsset>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, callback: AsyncCallback<FileAsset>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, albumUri?: string): Promise<FileAsset>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions, callback: AsyncCallback<FetchResult<Album>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions): Promise<FetchResult<Album>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPrivateAlbum(type: PrivateAlbumType, callback: AsyncCallback<FetchResult<PrivateAlbum>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPrivateAlbum(type: PrivateAlbumType): Promise<FetchResult<PrivateAlbum>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAudioAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<FileAsset>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAudioAssets(options: FetchOptions): Promise<FetchResult<FileAsset>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: delete(uri: string, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbum;
Method or attribute name: delete(uri: string, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: delete(uri: string): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbum;
Method or attribute name: delete(uri: string): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: on(type: ChangeEvent, callback: Callback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: off(type: ChangeEvent, callback?: Callback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getActivePeers(callback: AsyncCallback<Array<PeerInfo>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getActivePeers(): Promise<Array<PeerInfo>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAllPeers(callback: AsyncCallback<Array<PeerInfo>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAllPeers(): Promise<Array<PeerInfo>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: release(callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: release(): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PeerInfo;
Method or attribute name: readonly deviceName: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PeerInfo;
Method or attribute name: readonly networkId: string;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PeerInfo;
Method or attribute name: readonly isOnline: boolean;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbumType;
Method or attribute name: TYPE_FAVORITE
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbumType;
Method or attribute name: TYPE_TRASH
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbum;
Method or attribute name: recover(uri: string, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: PrivateAlbum;
Method or attribute name: recover(uri: string): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA 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 Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
@ohos.fileshare.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function choose(types?: string[]): Promise<string>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function choose(types?: string[]): Promise<string>;
New version: 9
Substitute API:
@ohos.document.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): void;
New version: 9
Substitute API:
@ohos.document.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback<string>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback<string>): void;
New version: 9
Substitute API:
@ohos.document.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string): Promise<void>;
New version: 9
Substitute API:
@ohos.document.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.document.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode?: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode?: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.access
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.access
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.access
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function accessSync(path: string, mode?: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function accessSync(path: string, mode?: number): void;
New version: 9
Substitute API: ohos.file.fs.accessSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function close(fd: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function close(fd: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.close
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.close
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function closeSync(fd: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function closeSync(fd: number): void;
New version: 9
Substitute API: ohos.file.fs.closeSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode?: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode?: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.copyFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.copyFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.copyFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function copyFileSync(src: string |number, dest: string |number, mode?: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function copyFileSync(src: string |number, dest: string |number, mode?: number): void;
New version: 9
Substitute API: ohos.file.fs.copyFileSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string): Promise<Stream>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string): Promise<Stream>;
New version: 9
Substitute API: ohos.file.fs.createStream
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
New version: 9
Substitute API: ohos.file.fs.createStream
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;
Old version:
Class name: sourcefile;
Method or attribute name: declare function createStreamSync(path: string, mode: string): Stream;
New version: 9
Substitute API: ohos.file.fs.createStreamSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number): Promise<void>;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chownSync(path: string, uid: number, gid: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chownSync(path: string, uid: number, gid: number): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number): Promise<void>;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function chmodSync(path: string, mode: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function chmodSync(path: string, mode: number): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len?: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len?: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function ftruncateSync(fd: number, len?: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function ftruncateSync(fd: number, len?: number): void;
New version: 9
Substitute API: ohos.file.fs.truncateSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.fsync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.fsync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fsyncSync(fd: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fsyncSync(fd: number): void;
New version: 9
Substitute API: ohos.file.fs.fsyncSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number): Promise<Stat>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number): Promise<Stat>;
New version: 9
Substitute API: ohos.file.fs.stat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback<Stat>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback<Stat>): void;
New version: 9
Substitute API: ohos.file.fs.stat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fstatSync(fd: number): Stat;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fstatSync(fd: number): Stat;
New version: 9
Substitute API: ohos.file.fs.statSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.fdatasync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.fdatasync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdatasyncSync(fd: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdatasyncSync(fd: number): void;
New version: 9
Substitute API: ohos.file.fs.fdatasyncSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number): Promise<void>;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchownSync(fd: number, uid: number, gid: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchownSync(fd: number, uid: number, gid: number): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number): Promise<void>;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fchmodSync(fd: number, mode: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fchmodSync(fd: number, mode: number): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise<Stream>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string): Promise<Stream>;
New version: 9
Substitute API: ohos.file.fs.fdopenStream
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
New version: 9
Substitute API: ohos.file.fs.fdopenStream
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;
Old version:
Class name: sourcefile;
Method or attribute name: declare function fdopenStreamSync(fd: number, mode: string): Stream;
New version: 9
Substitute API: ohos.file.fs.fdopenStreamSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string): Promise<string>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string): Promise<string>;
New version: 9
Substitute API: ohos.file.hash.hash
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.file.hash.hash
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number): Promise<void>;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lchownSync(path: string, uid: number, gid: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lchownSync(path: string, uid: number, gid: number): void;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lstat(path: string): Promise<Stat>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lstat(path: string): Promise<Stat>;
New version: 9
Substitute API: ohos.file.fs.lstat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
New version: 9
Substitute API: ohos.file.fs.lstat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function lstatSync(path: string): Stat;
Old version:
Class name: sourcefile;
Method or attribute name: declare function lstatSync(path: string): Stat;
New version: 9
Substitute API: ohos.file.fs.lstatSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode?: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode?: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.mkdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.mkdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.mkdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdirSync(path: string, mode?: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdirSync(path: string, mode?: number): void;
New version: 9
Substitute API: ohos.file.fs.mkdirSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string): Promise<string>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string): Promise<string>;
New version: 9
Substitute API: ohos.file.fs.mkdtemp
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.file.fs.mkdtemp
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function mkdtempSync(prefix: string): string;
Old version:
Class name: sourcefile;
Method or attribute name: declare function mkdtempSync(prefix: string): string;
New version: 9
Substitute API: ohos.file.fs.mkdtempSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags?: number, mode?: number): Promise<number>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags?: number, mode?: number): Promise<number>;
New version: 9
Substitute API: ohos.file.fs.open
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<number>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.open
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback<number>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.open
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.open
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function openSync(path: string, flags?: number, mode?: number): number;
Old version:
Class name: sourcefile;
Method or attribute name: declare function openSync(path: string, flags?: number, mode?: number): number;
New version: 9
Substitute API: ohos.file.fs.openSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function opendir(path: string): Promise<Dir>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function opendir(path: string): Promise<Dir>;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback<Dir>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback<Dir>): void;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function opendirSync(path: string): Dir;
Old version:
Class name: sourcefile;
Method or attribute name: declare function opendirSync(path: string): Dir;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise<string>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): Promise<string>;
New version: 9
Substitute API: ohos.file.fs.readText
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options: {
position?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback<string>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, options: {
position?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.file.fs.readText
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function readTextSync(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): string;
Old version:
Class name: sourcefile;
Method or attribute name: declare function readTextSync(filePath: string, options?: {
position?: number;
length?: number;
encoding?: string;
}): string;
New version: 9
Substitute API: ohos.file.fs.readTextSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
position?: number;
}): Promise<ReadOut>
Old version:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
position?: number;
}): Promise<ReadOut>
New version: 9
Substitute API: ohos.file.fs.read
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
New version: 9
Substitute API: ohos.file.fs.read
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
position?: number;
}, callback: AsyncCallback<ReadOut>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
position?: number;
}, callback: AsyncCallback<ReadOut>): void;
New version: 9
Substitute API: ohos.file.fs.read
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
position?: number;
}): number;
Old version:
Class name: sourcefile;
Method or attribute name: declare function readSync(fd: number, buffer: ArrayBuffer, options?: {
offset?: number;
length?: number;
position?: number;
}): number;
New version: 9
Substitute API: ohos.file.fs.readSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.rename
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.rename
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
New version: 9
Substitute API: ohos.file.fs.renameSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.rmdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.rmdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rmdirSync(path: string): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function rmdirSync(path: string): void;
New version: 9
Substitute API: ohos.file.fs.rmdirSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function stat(path: string): Promise<Stat>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function stat(path: string): Promise<Stat>;
New version: 9
Substitute API: ohos.file.fs.stat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): void;
New version: 9
Substitute API: ohos.file.fs.stat
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function statSync(path: string): Stat;
Old version:
Class name: sourcefile;
Method or attribute name: declare function statSync(path: string): Stat;
New version: 9
Substitute API: ohos.file.fs.statSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.symlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.symlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function symlinkSync(target: string, srcPath: string): void;
New version: 9
Substitute API: ohos.file.fs.symlinkSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len?: number): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len?: number): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.truncate
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function truncateSync(path: string, len?: number): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function truncateSync(path: string, len?: number): void;
New version: 9
Substitute API: ohos.file.fs.truncateSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function unlink(path: string): Promise<void>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.unlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.unlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function unlinkSync(path: string): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function unlinkSync(path: string): void;
New version: 9
Substitute API: ohos.file.fs.unlinkSync
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): Promise<number>;
Old version:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): Promise<number>;
New version: 9
Substitute API: ohos.file.fs.write
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.write
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}, callback: AsyncCallback<number>): void;
Old version:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.write
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): number;
Old version:
Class name: sourcefile;
Method or attribute name: declare function writeSync(fd: number, buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): number;
New 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>;
Old version:
Class name: Dir;
Method or attribute name: read(): Promise<Dirent>;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Dir;
Method or attribute name: readSync(): Dirent;
Old version:
Class name: Dir;
Method or attribute name: readSync(): Dirent;
New 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>;
Old version:
Class name: Dir;
Method or attribute name: close(): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: close(): Promise<void>;
Old version:
Class name: Stream;
Method or attribute name: close(): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Dir;
Method or attribute name: closeSync(): void;
Old version:
Class name: Dir;
Method or attribute name: closeSync(): void;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: closeSync(): void;
Old version:
Class name: Stream;
Method or attribute name: closeSync(): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: declare interface Dirent
Old version:
Class name: Dirent;
Method or attribute name: declare interface Dirent
New 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;
Old version:
Class name: Dirent;
Method or attribute name: readonly name: string;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isBlockDevice(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isBlockDevice(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isBlockDevice(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isBlockDevice(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isCharacterDevice(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isCharacterDevice(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isCharacterDevice(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isCharacterDevice(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isDirectory(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isDirectory(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isDirectory(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isDirectory(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isFIFO(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isFIFO(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isFIFO(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isFIFO(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isFile(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isFile(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isFile(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isFile(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isSocket(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isSocket(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isSocket(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isSocket(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Dirent;
Method or attribute name: isSymbolicLink(): boolean;
Old version:
Class name: Dirent;
Method or attribute name: isSymbolicLink(): boolean;
New version: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: isSymbolicLink(): boolean;
Old version:
Class name: Stat;
Method or attribute name: isSymbolicLink(): boolean;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: declare interface Stat
Old version:
Class name: Stat;
Method or attribute name: declare interface Stat
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly dev: number;
Old version:
Class name: Stat;
Method or attribute name: readonly dev: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly ino: number;
Old version:
Class name: Stat;
Method or attribute name: readonly ino: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly mode: number;
Old version:
Class name: Stat;
Method or attribute name: readonly mode: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly nlink: number;
Old version:
Class name: Stat;
Method or attribute name: readonly nlink: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly uid: number;
Old version:
Class name: Stat;
Method or attribute name: readonly uid: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly gid: number;
Old version:
Class name: Stat;
Method or attribute name: readonly gid: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly rdev: number;
Old version:
Class name: Stat;
Method or attribute name: readonly rdev: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly size: number;
Old version:
Class name: Stat;
Method or attribute name: readonly size: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly blocks: number;
Old version:
Class name: Stat;
Method or attribute name: readonly blocks: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly atime: number;
Old version:
Class name: Stat;
Method or attribute name: readonly atime: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly mtime: number;
Old version:
Class name: Stat;
Method or attribute name: readonly mtime: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stat;
Method or attribute name: readonly ctime: number;
Old version:
Class name: Stat;
Method or attribute name: readonly ctime: number;
New version: 9
Substitute API: ohos.file.fs.Stat
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: declare interface Stream
Old version:
Class name: Stream;
Method or attribute name: declare interface Stream
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version:
Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: flush(): Promise<void>;
Old version:
Class name: Stream;
Method or attribute name: flush(): Promise<void>;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
Old version:
Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: flushSync(): void;
Old version:
Class name: Stream;
Method or attribute name: flushSync(): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): Promise<number>;
Old version:
Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): Promise<number>;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version:
Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}, callback: AsyncCallback<number>): void;
Old version:
Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: writeSync(buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): number;
Old version:
Class name: Stream;
Method or attribute name: writeSync(buffer: ArrayBuffer |string, options?: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
}): number;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options?: {
position?: number;
offset?: number;
length?: number;
}): Promise<ReadOut>;
Old version:
Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options?: {
position?: number;
offset?: number;
length?: number;
}): Promise<ReadOut>;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
Old version:
Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options: {
position?: number;
offset?: number;
length?: number;
}, callback: AsyncCallback<ReadOut>): void;
Old version:
Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options: {
position?: number;
offset?: number;
length?: number;
}, callback: AsyncCallback<ReadOut>): void;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: Stream;
Method or attribute name: readSync(buffer: ArrayBuffer, options?: {
position?: number;
offset?: number;
length?: number;
}): number;
Old version:
Class name: Stream;
Method or attribute name: readSync(buffer: ArrayBuffer, options?: {
position?: number;
offset?: number;
length?: number;
}): number;
New version: 9
Substitute API: ohos.file.fs.Stream
@ohos.fileio.d.ts
Deprecated version changed Class name: ReadOut;
Method or attribute name: declare interface ReadOut
Old version:
Class name: ReadOut;
Method or attribute name: declare interface ReadOut
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: ReadOut;
Method or attribute name: bytesRead: number;
Old version:
Class name: ReadOut;
Method or attribute name: bytesRead: number;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: ReadOut;
Method or attribute name: offset: number;
Old version:
Class name: ReadOut;
Method or attribute name: offset: number;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: ReadOut;
Method or attribute name: buffer: ArrayBuffer;
Old version:
Class name: ReadOut;
Method or attribute name: buffer: ArrayBuffer;
New version: 9
Substitute API:
@ohos.fileio.d.ts
Deprecated version changed Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;
Old version:
Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string, callback: AsyncCallback<number>): void;
New 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>;
Old version:
Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise<number>;
New 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;
Old version:
Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string, callback: AsyncCallback<number>): void;
New 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>;
Old version:
Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise<number>;
New version: 9
Substitute API: ohos.file.statvfs.getTotalSize
@ohos.statfs.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

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

0  赞