| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly fd: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
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: RandomAccessFile;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: DocumentSelectOptions;
Method or attribute name: maxSelectNumber?: number;|@ohos.file.picker.d.ts|
|Added|NA|Class name: BundleVersion;
Method or attribute name: code: number;|@ohos.application.BackupExtensionAbility.d.ts|
|Added|NA|Class name: BundleVersion;
Method or attribute name: name: string;|@ohos.application.BackupExtensionAbility.d.ts|
|Added|NA|Class name: BackupExtensionAbility;
Method or attribute name: onBackup(): void;|@ohos.application.BackupExtensionAbility.d.ts|
|Added|NA|Class name: BackupExtensionAbility;
Method or attribute name: onRestore(bundleVersion: BundleVersion): void;|@ohos.application.BackupExtensionAbility.d.ts|
|Added|NA|Class name: backup;
Method or attribute name: function getLocalCapabilities(): Promise\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: backup;
Method or attribute name: function getLocalCapabilities(callback: AsyncCallback\): void;|@ohos.file.backup.d.ts|
|Added|NA|Class name: FileMeta;
Method or attribute name: bundleName: string;|@ohos.file.backup.d.ts|
|Added|NA|Class name: FileMeta;
Method or attribute name: uri: string;|@ohos.file.backup.d.ts|
|Added|NA|Class name: FileData;
Method or attribute name: fd: number;|@ohos.file.backup.d.ts|
|Added|NA|Class name: GeneralCallbacks;
Method or attribute name: onFileReady: AsyncCallback\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: GeneralCallbacks;
Method or attribute name: onBundleBegin: AsyncCallback\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: GeneralCallbacks;
Method or attribute name: onBundleEnd: AsyncCallback\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: GeneralCallbacks;
Method or attribute name: onAllBundlesEnd: AsyncCallback\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: GeneralCallbacks;
Method or attribute name: onBackupServiceDied: Callback\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionBackup;
Method or attribute name: constructor(callbacks: GeneralCallbacks);|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: constructor(callbacks: GeneralCallbacks);|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionBackup;
Method or attribute name: appendBundles(bundlesToBackup: string[]): Promise\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionBackup;
Method or attribute name: appendBundles(bundlesToBackup: string[], callback: AsyncCallback\): void;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[]): Promise\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[], callback: AsyncCallback\): void;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: publishFile(fileMeta: FileMeta): Promise\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: publishFile(fileMeta: FileMeta, callback: AsyncCallback\): void;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: getFileHandle(fileMeta: FileMeta): Promise\;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SessionRestore;
Method or attribute name: getFileHandle(fileMeta: FileMeta, callback: AsyncCallback\): void;|@ohos.file.backup.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: UPLOADING|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: UPLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: DOWNLOADING|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: COMPLETED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncState;
Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: STOPPED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: NO_ERROR|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: ErrorType;
Method or attribute name: LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncProgress;
Method or attribute name: state: SyncState;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: SyncProgress;
Method or attribute name: error: ErrorType;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: constructor();|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: off(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: start(): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: start(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: stop(): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: stop(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: RUNNING|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: FAILED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: state: State;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: processed: number;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: size: number;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: uri: string;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: off(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: start(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: start(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function changeAppCloudSwitch(accountId: string, bundleName: string, status: boolean): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function changeAppCloudSwitch(
accountId: string,
bundleName: string,
status: boolean,
callback: AsyncCallback\
): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function notifyDataChange(accountId: string, bundleName: string): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function notifyDataChange(accountId: string, bundleName: string, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(
accountId: string,
switches: { [bundleName: string]: boolean },
callback: AsyncCallback\
): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: Action;
Method or attribute name: RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: Action;
Method or attribute name: CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: relativePath: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: RootInfo;
Method or attribute name: relativePath: string;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileKey;
Method or attribute name: DISPLAY_NAME = 'display_name'|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileKey;
Method or attribute name: DATE_ADDED = 'date_added'|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileKey;
Method or attribute name: DATE_MODIFIED = 'date_modified'|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileKey;
Method or attribute name: RELATIVE_PATH = 'relative_path'|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileKey;
Method or attribute name: FILE_SIZE = 'size'|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ADD|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_DELETE|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_MOVED_TO|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_MOVED_FROM|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_MOVE_SELF|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyMessage;
Method or attribute name: type: NotifyType;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: NotifyMessage;
Method or attribute name: uris: Array\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, force?: boolean): Promise\>;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, callback: AsyncCallback\>): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback\>): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: query(uri: string, metaJson: string): Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: query(uri: string, metaJson: string, callback: AsyncCallback\): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromUri(uri: string): Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromUri(uri: string, callback: AsyncCallback\): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromRelativePath(relativePath: string): Promise\;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromRelativePath(relativePath: string, callback: AsyncCallback\): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback\): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileAccessHelper;
Method or attribute name: unregisterObserver(uri: string, callback?: Callback\): void;|@ohos.file.fileAccess.d.ts|
|Added|NA|Class name: FileUri;
Method or attribute name: constructor(uriOrPath: string);|@ohos.file.fileuri.d.ts|
|Added|NA|Class name: FileUri;
Method or attribute name: readonly name: string;|@ohos.file.fileuri.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function copyDir(src: string, dest: string, mode?: number): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function copyDir(src: string, dest: string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function copyDir(src: string, dest: string, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function copyDir(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 copyDir(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 copyDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function dup(fd: number): File;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function moveDir(src: string, dest: string, mode?: number): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function moveDir(src: string, dest: string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function moveDir(src: string, dest: string, callback: AsyncCallback\>): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function moveDir(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 moveDir(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 moveDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: export type ConflictFiles = {
/**
* @type { string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
srcFile: string;
/**
* @type { string }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
destFile: string;
};|@ohos.file.fs.d.ts|
|Added|NA|Class name: File;
Method or attribute name: readonly path: string;|@ohos.file.fs.d.ts|
|Added|NA|Class name: File;
Method or attribute name: readonly name: string;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly filePointer: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: close(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
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: RandomAccessFile;
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: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readSync(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: WatchEventListener;
Method or attribute name: (event: WatchEvent): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: WatchEvent;
Method or attribute name: readonly fileName: string;|@ohos.file.fs.d.ts|
|Added|NA|Class name: WatchEvent;
Method or attribute name: readonly event: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: WatchEvent;
Method or attribute name: readonly cookie: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Watcher;
Method or attribute name: start(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: Watcher;
Method or attribute name: stop(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: photoAccessHelper;
Method or attribute name: function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: photoAccessHelper;
Method or attribute name: type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoType;
Method or attribute name: IMAGE = 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoType;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSubtype;
Method or attribute name: DEFAULT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly uri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setUserComment(userComment: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setUserComment(userComment: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getExif(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getExif(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumKeys;
Method or attribute name: URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: USER_COMMENT = 'user_comment'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoKeys;
Method or attribute name: CAMERA_SHOT_KEY = 'camera_shot_key'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumKeys;
Method or attribute name: ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchOptions;
Method or attribute name: fetchColumns: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchOptions;
Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: cameraShotKey?: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: CreateOptions;
Method or attribute name: title?: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getCount(): number;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: close(): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: USER = 0|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: HIDDEN|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: TRASH|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: CAMERA|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: albumName: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly count: number;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: unRegisterChange(uri: string, callback?: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createDeleteRequest(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createDeleteRequest(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: type: NotifyType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: uris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: extraUris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewMIMETypes;
Method or attribute name: IMAGE_TYPE = 'image/*'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewMIMETypes;
Method or attribute name: VIDEO_TYPE = 'video/*'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewMIMETypes;
Method or attribute name: IMAGE_VIDEO_TYPE = '*/*'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSelectResult;
Method or attribute name: photoUris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSelectResult;
Method or attribute name: isOriginalPhoto: boolean;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(option?: PhotoSelectOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoViewPicker;
Method or attribute name: select(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: DocumentSelectOptions;
Method or attribute name: defaultFilePathUri?: string;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentSaveOptions;
Method or attribute name: defaultFilePathUri?: string;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentSelectOptions;
Method or attribute name: fileSuffixFilters?: Array\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: DocumentSaveOptions;
Method or attribute name: fileSuffixChoices?: Array\;|@ohos.file.picker.d.ts|
|Added|NA|Class name: recent;
Method or attribute name: function listFile(): Array\;|@ohos.file.recent.d.ts|
|Added|NA|Class name: recent;
Method or attribute name: function add(uri: string): void;|@ohos.file.recent.d.ts|
|Added|NA|Class name: recent;
Method or attribute name: function remove(uri: string): void;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly uri: string;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly srcPath: string;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly fileName: string;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly mode: number;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly size: number;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly mtime: number;|@ohos.file.recent.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly ctime: number;|@ohos.file.recent.d.ts|
|Added|NA|Class name: statfs;
Method or attribute name: function getFreeSizeSync(path: string): number;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: statfs;
Method or attribute name: function getTotalSizeSync(path: string): number;|@ohos.file.statvfs.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getTotalSizeSync(): number;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: storageStatistics;
Method or attribute name: function getFreeSizeSync(): number;|@ohos.file.storageStatistics.d.ts|
|Added|NA|Class name: trash;
Method or attribute name: function listFile(): Array\;|@ohos.file.trash.d.ts|
|Added|NA|Class name: trash;
Method or attribute name: function recover(uri: string): void;|@ohos.file.trash.d.ts|
|Added|NA|Class name: trash;
Method or attribute name: function completelyDelete(uri: string): void;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly uri: string;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly srcPath: string;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly fileName: string;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly mode: number;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly size: number;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly mtime: number;|@ohos.file.trash.d.ts|
|Added|NA|Class name: FileInfo;
Method or attribute name: readonly ctime: number;|@ohos.file.trash.d.ts|
|Added|NA|Class name: PhotoSubType;
Method or attribute name: DEFAULT|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PhotoSubType;
Method or attribute name: SCREENSHOT|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: SCREENSHOT|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PhotoSubType;
Method or attribute name: CAMERA|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: CAMERA|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: LOCAL = 1|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: CLOUD|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: BOTH|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: setUserComment(userComment: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: setUserComment(userComment: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: getExif(callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FileAsset;
Method or attribute name: getExif(): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ImageVideoKey;
Method or attribute name: POSITION|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ImageVideoKey;
Method or attribute name: DATE_TRASHED|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ImageVideoKey;
Method or attribute name: HIDDEN|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: HIDDEN|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ImageVideoKey;
Method or attribute name: USER_COMMENT|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ImageVideoKey;
Method or attribute name: CAMERA_SHOT_KEY|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: subType?: PhotoSubType;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: cameraShotKey?: string;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObject(callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObject(): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: USER = 0|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: SYSTEM = 1024|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: USER_GENERIC = 1|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: FAVORITE = 1025|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: VIDEO|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: TRASH|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AlbumSubType;
Method or attribute name: ANY = 2147483647|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumType: AlbumType;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumSubType: AlbumSubType;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addPhotoAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addPhotoAssets(assets: Array\): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removePhotoAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removePhotoAssets(assets: Array\): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverPhotoAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverPhotoAssets(assets: Array\): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deletePhotoAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deletePhotoAssets(assets: Array\): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, createOption: PhotoCreateOptions): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, createOption: PhotoCreateOptions, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createAudioAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createAudioAsset(displayName: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: createAlbum(name: string): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: deleteAlbums(albums: Array\, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: deleteAlbums(albums: Array\): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAlbums(
type: AlbumType,
subType: AlbumSubType,
options: FetchOptions,
callback: AsyncCallback\>
): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAlbums(type: AlbumType, subType: AlbumSubType, callback: AsyncCallback\>): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getAlbums(type: AlbumType, subType: AlbumSubType, options?: FetchOptions): Promise\>;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: on(uri: string, forSubUri: boolean, callback: Callback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: UserFileManager;
Method or attribute name: off(uri: string, callback?: Callback\): void;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ADD|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_UPDATE|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_REMOVE|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_ADD_ASSET|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_REMOVE_ASSET|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_PHOTO_URI|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_ALBUM_URI|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_AUDIO_URI|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: type: NotifyType;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: uris: Array\;|@ohos.filemanagement.userFileManager.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: subUris: Array\;|@ohos.filemanagement.userFileManager.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
New version information: 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 information: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
New version information: 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 information: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: document;
Method or attribute name: declare document
Old version information: |Class name: document;
Method or attribute name: declare document
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
New version information: 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 information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.close|@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 information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
New version information: 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 information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.createStream|@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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdatasync|@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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
New version information: 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, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
New version information: 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\): void;