| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Deleted|Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback\): void;|NA|@ohos.environment.d.ts|
|Deleted|Class name: Environment;
Method or attribute name: function getStorageDataDir(): Promise\;|NA|@ohos.environment.d.ts|
|Deleted|Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback\): void;|NA|@ohos.environment.d.ts|
|Deleted|Class name: Environment;
Method or attribute name: function getUserDataDir(): Promise\;|NA|@ohos.environment.d.ts|
|Deleted|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;|NA|@ohos.storageStatistics.d.ts|
|Deleted|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;|NA|@ohos.storageStatistics.d.ts|
|Deleted|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;|NA|@ohos.storageStatistics.d.ts|
|Deleted|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;|NA|@ohos.storageStatistics.d.ts|
|Added|NA|Class name: Environment;
Method or attribute name: function getStorageDataDir(): Promise\;|@ohos.file.environment.d.ts|
|Added|NA|Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback\): void;|@ohos.file.environment.d.ts|
|Added|NA|Class name: Environment;
Method or attribute name: function getUserDataDir(): Promise\;|@ohos.file.environment.d.ts|
|Added|NA|Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback\): void;|@ohos.file.environment.d.ts|
|Added|NA|Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(callback: AsyncCallback\>): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise\>;|@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\): 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\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: delete(uri: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string) : Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback\) : void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getRoots(): Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getRoots(callback:AsyncCallback\) : 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function close(file: number \| File, callback: AsyncCallback\): 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\;|@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;|@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;|@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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, callback: AsyncCallback\): 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\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback\): 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;|@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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): 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\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback\): 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\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function stat(file: string \| number, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function truncate(file: string \| number, callback: AsyncCallback\): 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;|@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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): 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\): 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\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
suffix?: Array\;
/**
* @type {Array\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
displayName?: Array\;
/**
* @type {Array\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
mimeType?: Array\;
/**
* @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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: File;
Method or attribute name: lock(callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: File;
Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback\): 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: close(callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer \| string, options: {
offset?: number;
length?: number;
encoding?: string;
}, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: 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\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, options: {
offset?: number;
length?: number;
}, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Stream;
Method or attribute name: 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\;|@ohos.file.hash.d.ts|
|Added|NA|Class name: hash;
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback\): 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\;|@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\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(option?: PhotoSelectOptions) : Promise\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback\) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(callback: AsyncCallback\) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: save(option?: PhotoSaveOptions) : Promise\>;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: save(option: PhotoSaveOptions, callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: save(callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: save(callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: save(callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: select(option?: DocumentSelectOptions) : Promise\>;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: select(option: DocumentSelectOptions, callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: select(callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: select(callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: save(option?: DocumentSaveOptions) : Promise\>;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentViewPicker;
Method or attribute name: save(option: DocumentSaveOptions, callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: select(option?: AudioSelectOptions) : Promise\>;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: select(option: AudioSelectOptions, callback: AsyncCallback\>) : void;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: save(option?: AudioSaveOptions) : Promise\>;|@ohos.file.picker.d.ts|
|Added|NA|Class name: AudioViewPicker;
Method or attribute name: save(option: AudioSaveOptions, callback: AsyncCallback\>) : 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\;|@ohos.file.securityLabel.d.ts|
|Added|NA|Class name: securityLabel;
Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback\): 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\;|@ohos.file.securityLabel.d.ts|
|Added|NA|Class name: securityLabel;
Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback\): 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\;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: statfs;
Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback\): void;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: statfs;
Method or attribute name: function getTotalSize(path: string): Promise\;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: statfs;
Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback\): void;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getSystemSize(callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getTotalSize(callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getFreeSize(callback: AsyncCallback\): void;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;|@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\>): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback\): void;|@ohos.file.volumeManager.d.ts|
|Added|NA|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;|@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\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
suffix: Array\;
/**
* @type {Array\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
displayName?: Array\;
/**
* @type {Array\}
* @syscap SystemCapability.FileManagement.File.FileIO
* @systemapi
* @since 9
* @readonly
*/
mimeType?: Array\;
/**
* @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;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: commitModify(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: open(mode: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: close(fd: number): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: favorite(isFavorite: boolean, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: favorite(isFavorite: boolean): Promise\;|@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\;|@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\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getPositionObject(index: number, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getPositionObject(index: number): Promise\;|@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\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: getPhotoAssets(options: FetchOptions): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoAssets(options: FetchOptions): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, albumUri: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, albumUri?: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions, callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoAlbums(options: AlbumFetchOptions): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPrivateAlbum(type: PrivateAlbumType, callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPrivateAlbum(type: PrivateAlbumType): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAudioAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAudioAssets(options: FetchOptions): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: delete(uri: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PrivateAlbum;
Method or attribute name: delete(uri: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: delete(uri: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PrivateAlbum;
Method or attribute name: delete(uri: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: on(type: ChangeEvent, callback: Callback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: off(type: ChangeEvent, callback?: Callback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getActivePeers(callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getActivePeers(): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAllPeers(callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAllPeers(): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: release(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: release(): Promise\;|@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;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PrivateAlbum;
Method or attribute name: recover(uri: string): Promise\;|@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;|@ohos.fileshare.d.ts|
|Added|NA|Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\;|@ohos.fileshare.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(types?: string[]): Promise\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function choose(types?: string[]): Promise\;
New version: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
Old version: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): 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\): void;
Old version: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): 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\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string): Promise\;
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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): 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\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode?: number): Promise\;
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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): 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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): 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\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number): Promise\;
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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): 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\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\;
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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): 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;
Old version: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, mode: number, callback: AsyncCallback\): 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\;
Old version: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string): Promise\;
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\): void;