harmony 鸿蒙js-apidiff-file-management

  • 2023-10-30
  • 浏览 (137)

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<number>): 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<number>
): void;
@ohos.file.fs.d.ts
Added NA Class name: RandomAccessFile;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): 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<number>
): 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<FileData>;
@ohos.file.backup.d.ts
Added NA Class name: backup;
Method or attribute name: function getLocalCapabilities(callback: AsyncCallback<FileData>): 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<File>;
@ohos.file.backup.d.ts
Added NA Class name: GeneralCallbacks;
Method or attribute name: onBundleBegin: AsyncCallback<string>;
@ohos.file.backup.d.ts
Added NA Class name: GeneralCallbacks;
Method or attribute name: onBundleEnd: AsyncCallback<string>;
@ohos.file.backup.d.ts
Added NA Class name: GeneralCallbacks;
Method or attribute name: onAllBundlesEnd: AsyncCallback<undefined>;
@ohos.file.backup.d.ts
Added NA Class name: GeneralCallbacks;
Method or attribute name: onBackupServiceDied: Callback<undefined>;
@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<void>;
@ohos.file.backup.d.ts
Added NA Class name: SessionBackup;
Method or attribute name: appendBundles(bundlesToBackup: string[], callback: AsyncCallback<void>): void;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[]): Promise<void>;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[], callback: AsyncCallback<void>): void;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: publishFile(fileMeta: FileMeta): Promise<void>;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: publishFile(fileMeta: FileMeta, callback: AsyncCallback<void>): void;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: getFileHandle(fileMeta: FileMeta): Promise<void>;
@ohos.file.backup.d.ts
Added NA Class name: SessionRestore;
Method or attribute name: getFileHandle(fileMeta: FileMeta, callback: AsyncCallback<void>): 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<void>;
@ohos.file.cloudSync.d.ts
Added NA Class name: GallerySync;
Method or attribute name: start(callback: AsyncCallback<void>): void;
@ohos.file.cloudSync.d.ts
Added NA Class name: GallerySync;
Method or attribute name: stop(): Promise<void>;
@ohos.file.cloudSync.d.ts
Added NA Class name: GallerySync;
Method or attribute name: stop(callback: AsyncCallback<void>): 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<void>;
@ohos.file.cloudSync.d.ts
Added NA Class name: Download;
Method or attribute name: start(uri: string, callback: AsyncCallback<void>): void;
@ohos.file.cloudSync.d.ts
Added NA Class name: Download;
Method or attribute name: stop(uri: string): Promise<void>;
@ohos.file.cloudSync.d.ts
Added NA Class name: Download;
Method or attribute name: stop(uri: string, callback: AsyncCallback<void>): void;
@ohos.file.cloudSync.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function changeAppCloudSwitch(accountId: string, bundleName: string, status: boolean): Promise<void>;
@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>
): void;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function notifyDataChange(accountId: string, bundleName: string): Promise<void>;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function notifyDataChange(accountId: string, bundleName: string, callback: AsyncCallback<void>): void;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise<void>;
@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>
): void;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string): Promise<void>;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string, callback: AsyncCallback<void>): void;
@ohos.file.cloudSyncManager.d.ts
Added NA Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise<void>;
@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>): 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<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, force?: boolean): Promise<Array<CopyResult>>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, callback: AsyncCallback<Array<CopyResult>>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: copy(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback<Array<CopyResult>>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: query(uri: string, metaJson: string): Promise<string>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: query(uri: string, metaJson: string, callback: AsyncCallback<string>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromUri(uri: string): Promise<FileInfo>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromUri(uri: string, callback: AsyncCallback<FileInfo>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromRelativePath(relativePath: string): Promise<FileInfo>;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: getFileInfoFromRelativePath(relativePath: string, callback: AsyncCallback<FileInfo>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback<NotifyMessage>): void;
@ohos.file.fileAccess.d.ts
Added NA Class name: FileAccessHelper;
Method or attribute name: unregisterObserver(uri: string, callback?: Callback<NotifyMessage>): 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<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>): 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, Array<ConflictFiles>>): 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>): 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, Array<ConflictFiles>>): 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<RandomAccessFile>;
@ohos.file.fs.d.ts
Added NA Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string |File, callback: AsyncCallback<RandomAccessFile>): 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<RandomAccessFile>): 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<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>): 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, Array<ConflictFiles>>): 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>): 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, Array<ConflictFiles>>): 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<number>;
@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<number>;
@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>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: commitModify(): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: commitModify(): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback<number>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: open(mode: string): Promise<number>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(callback: AsyncCallback<number>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(): Promise<number>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: close(fd: number): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback<image.PixelMap>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback<image.PixelMap>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise<image.PixelMap>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setUserComment(userComment: string, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: setUserComment(userComment: string): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getExif(callback: AsyncCallback<string>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAsset;
Method or attribute name: getExif(): Promise<string>;
@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<string>;
@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<T>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise<T>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback<T>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getNextObject(): Promise<T>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback<T>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getLastObject(): Promise<T>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number, callback: AsyncCallback<T>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number): Promise<T>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getAllObjects(callback: AsyncCallback<Array<T>>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getAllObjects(): Promise<Array<T>>;
@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<FetchResult<PhotoAsset>>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<PhotoAsset>>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: addAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: addAssets(assets: Array<PhotoAsset>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: removeAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: removeAssets(assets: Array<PhotoAsset>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: recoverAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: recoverAssets(assets: Array<PhotoAsset>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: deleteAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: deleteAssets(assets: Array<PhotoAsset>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: setCoverUri(uri: string, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: Album;
Method or attribute name: setCoverUri(uri: string): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, callback: AsyncCallback<PhotoAsset>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string): Promise<PhotoAsset>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions): Promise<PhotoAsset>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback<PhotoAsset>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback<string>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback<string>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise<string>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback<Album>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string): Promise<Album>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array<Album>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array<Album>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback<FetchResult<Album>>
): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback<FetchResult<Album>>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise<FetchResult<Album>>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array<string>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array<string>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: registerChange(uri: string, forChildUris: boolean, callback: Callback<ChangeData>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: unRegisterChange(uri: string, callback?: Callback<ChangeData>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createDeleteRequest(uriList: Array<string>, callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: createDeleteRequest(uriList: Array<string>): Promise<void>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback<number>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise<number>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: release(callback: AsyncCallback<void>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoAccessHelper;
Method or attribute name: release(): Promise<void>;
@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<string>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: ChangeData;
Method or attribute name: extraUris: Array<string>;
@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<string>;
@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<PhotoSelectResult>;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: select(option: PhotoSelectOptions, callback: AsyncCallback<PhotoSelectResult>): void;
@ohos.file.photoAccessHelper.d.ts
Added NA Class name: PhotoViewPicker;
Method or attribute name: select(callback: AsyncCallback<PhotoSelectResult>): 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<string>;
@ohos.file.picker.d.ts
Added NA Class name: DocumentSaveOptions;
Method or attribute name: fileSuffixChoices?: Array<string>;
@ohos.file.picker.d.ts
Added NA Class name: recent;
Method or attribute name: function listFile(): Array<FileInfo>;
@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<FileInfo>;
@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>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: setUserComment(userComment: string, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: setUserComment(userComment: string): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: getExif(callback: AsyncCallback<string>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FileAsset;
Method or attribute name: getExif(): Promise<string>;
@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<Array<T>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: FetchResult;
Method or attribute name: getAllObject(): Promise<Array<T>>;
@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<FileAsset>, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: addPhotoAssets(assets: Array<FileAsset>): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: removePhotoAssets(assets: Array<FileAsset>, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: removePhotoAssets(assets: Array<FileAsset>): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: recoverPhotoAssets(assets: Array<FileAsset>, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: recoverPhotoAssets(assets: Array<FileAsset>): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: deletePhotoAssets(assets: Array<FileAsset>, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: Album;
Method or attribute name: deletePhotoAssets(assets: Array<FileAsset>): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, createOption: PhotoCreateOptions): Promise<FileAsset>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createPhotoAsset(displayName: string, createOption: PhotoCreateOptions, callback: AsyncCallback<FileAsset>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createAudioAsset(displayName: string, callback: AsyncCallback<FileAsset>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createAudioAsset(displayName: string): Promise<FileAsset>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback<Album>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: createAlbum(name: string): Promise<Album>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: deleteAlbums(albums: Array<Album>, callback: AsyncCallback<void>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: deleteAlbums(albums: Array<Album>): Promise<void>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAlbums(
type: AlbumType,
subType: AlbumSubType,
options: FetchOptions,
callback: AsyncCallback<FetchResult<Album>>
): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAlbums(type: AlbumType, subType: AlbumSubType, callback: AsyncCallback<FetchResult<Album>>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getAlbums(type: AlbumType, subType: AlbumSubType, options?: FetchOptions): Promise<FetchResult<Album>>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback<number>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise<number>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: on(uri: string, forSubUri: boolean, callback: Callback<ChangeData>): void;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: UserFileManager;
Method or attribute name: off(uri: string, callback?: Callback<ChangeData>): 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<string>;
@ohos.filemanagement.userFileManager.d.ts
Added NA Class name: ChangeData;
Method or attribute name: subUris: Array<string>;
@ohos.filemanagement.userFileManager.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): 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<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback<string>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): 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>
): 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>
): 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<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): 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<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback<Stat>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): 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<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): 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<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback<string>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): 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<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): 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>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback<void>): 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<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): 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<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<number>): 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<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback<number>): 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, mode: number, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): 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 opendir(path: string, callback: AsyncCallback<Dir>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback<Dir>): void;
New version information: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
New version information: 9
Substitute API: ohos.file.fs.readText
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
New version information: 9
Substitute API: ohos.file.fs.read
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback<ReadOut>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback<ReadOut>
): void;
New version information: 9
Substitute API: ohos.file.fs.read
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.file.fs.rename
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.file.fs.rmdir
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): 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 symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.file.fs.symlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): 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 truncate(path: string, len: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback<void>): 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 unlink(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.file.fs.unlink
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: 9
Substitute API: ohos.file.fs.write
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: 9
Substitute API: ohos.file.fs.write
@ohos.fileio.d.ts
Deprecated version changed Class name: sourcefile;
Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback<number>): Watcher;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback<number>): Watcher;
New version information: 10
Substitute API: ohos.file.fs.createWatcher
@ohos.fileio.d.ts
Deprecated version changed Class name: Dir;
Method or attribute name: declare interface Dir
Old version information:
Class name: Dir;
Method or attribute name: declare interface Dir
New version information: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Dir;
Method or attribute name: read(callback: AsyncCallback<Dirent>): void;
Old version information:
Class name: Dir;
Method or attribute name: read(callback: AsyncCallback<Dirent>): void;
New version information: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Dir;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: Dir;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: 9
Substitute API: ohos.file.fs.listFile
@ohos.fileio.d.ts
Deprecated version changed Class name: Watcher;
Method or attribute name: declare interface Watcher
Old version information:
Class name: Watcher;
Method or attribute name: declare interface Watcher
New version information: 10
Substitute API: ohos.file.fs.Watcher
@ohos.fileio.d.ts
Deprecated version changed Class name: Watcher;
Method or attribute name: stop(): Promise<void>;
Old version information:
Class name: Watcher;
Method or attribute name: stop(): Promise<void>;
New version information: 10
Substitute API: ohos.file.fs.Watcher.stop
@ohos.fileio.d.ts
Deprecated version changed Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
Old version information:
Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
New version information: 10
Substitute API: ohos.file.fs.Watcher.stop
@ohos.fileio.d.ts
Deprecated version changed Class name: Statfs;
Method or attribute name: declare Statfs
Old version information:
Class name: Statfs;
Method or attribute name: declare Statfs
New version information: 9
Substitute API: ohos.file.statvfs.statfs
@ohos.statfs.d.ts
Deprecated version changed Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise<number>;
Old version information:
Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise<number>;
New version information: 9
Substitute API: ohos.file.statvfs.getFreeSize
@ohos.statfs.d.ts
Deprecated version changed Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise<number>;
Old version information:
Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise<number>;
New version information: 9
Substitute API: ohos.file.statvfs.getTotalSize
@ohos.statfs.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: export interface FileResponse
Old version information:
Class name: FileResponse;
Method or attribute name: export interface FileResponse
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: uri: string;
Old version information:
Class name: FileResponse;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileListOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileGetOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileDeleteOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileDeleteOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileAccessOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileAccessOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileMkdirOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: uri: string;
Old version information:
Class name: FileRmdirOption;
Method or attribute name: uri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: length: number;
Old version information:
Class name: FileResponse;
Method or attribute name: length: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: lastModifiedTime: number;
Old version information:
Class name: FileResponse;
Method or attribute name: lastModifiedTime: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: type: ‘dir’ |‘file’;
Old version information:
Class name: FileResponse;
Method or attribute name: type: ‘dir’ |‘file’;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileResponse;
Method or attribute name: subFiles?: Array<FileResponse>;
Old version information:
Class name: FileResponse;
Method or attribute name: subFiles?: Array<FileResponse>;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: export interface FileMoveOption
Old version information:
Class name: FileMoveOption;
Method or attribute name: export interface FileMoveOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: srcUri: string;
Old version information:
Class name: FileMoveOption;
Method or attribute name: srcUri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: srcUri: string;
Old version information:
Class name: FileCopyOption;
Method or attribute name: srcUri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: dstUri: string;
Old version information:
Class name: FileMoveOption;
Method or attribute name: dstUri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: dstUri: string;
Old version information:
Class name: FileCopyOption;
Method or attribute name: dstUri: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: success?: (uri: string) => void;
Old version information:
Class name: FileMoveOption;
Method or attribute name: success?: (uri: string) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: success?: (uri: string) => void;
Old version information:
Class name: FileCopyOption;
Method or attribute name: success?: (uri: string) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileMoveOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileListOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileCopyOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileGetOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileDeleteOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileDeleteOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileAccessOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileAccessOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileMkdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: FileRmdirOption;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMoveOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileMoveOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileListOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileCopyOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileGetOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileDeleteOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileDeleteOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileAccessOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileAccessOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileMkdirOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: complete?: () => void;
Old version information:
Class name: FileRmdirOption;
Method or attribute name: complete?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListResponse;
Method or attribute name: export interface FileListResponse
Old version information:
Class name: FileListResponse;
Method or attribute name: export interface FileListResponse
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListResponse;
Method or attribute name: fileList: Array<FileResponse>;
Old version information:
Class name: FileListResponse;
Method or attribute name: fileList: Array<FileResponse>;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListOption;
Method or attribute name: export interface FileListOption
Old version information:
Class name: FileListOption;
Method or attribute name: export interface FileListOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileListOption;
Method or attribute name: success?: (data: FileListResponse) => void;
Old version information:
Class name: FileListOption;
Method or attribute name: success?: (data: FileListResponse) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileCopyOption;
Method or attribute name: export interface FileCopyOption
Old version information:
Class name: FileCopyOption;
Method or attribute name: export interface FileCopyOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: export interface FileGetOption
Old version information:
Class name: FileGetOption;
Method or attribute name: export interface FileGetOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: recursive?: boolean;
Old version information:
Class name: FileGetOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: recursive?: boolean;
Old version information:
Class name: FileMkdirOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: recursive?: boolean;
Old version information:
Class name: FileRmdirOption;
Method or attribute name: recursive?: boolean;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileGetOption;
Method or attribute name: success?: (file: FileResponse) => void;
Old version information:
Class name: FileGetOption;
Method or attribute name: success?: (file: FileResponse) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileDeleteOption;
Method or attribute name: export interface FileDeleteOption
Old version information:
Class name: FileDeleteOption;
Method or attribute name: export interface FileDeleteOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileDeleteOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileDeleteOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileAccessOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileAccessOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileMkdirOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: success?: () => void;
Old version information:
Class name: FileRmdirOption;
Method or attribute name: success?: () => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: export interface FileWriteTextOption
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: export interface FileWriteTextOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: text: string;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: text: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextResponse;
Method or attribute name: text: string;
Old version information:
Class name: FileReadTextResponse;
Method or attribute name: text: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: encoding?: string;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: encoding?: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: encoding?: string;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: encoding?: string;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteTextOption;
Method or attribute name: append?: boolean;
Old version information:
Class name: FileWriteTextOption;
Method or attribute name: append?: boolean;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: append?: boolean;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: append?: boolean;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextResponse;
Method or attribute name: export interface FileReadTextResponse
Old version information:
Class name: FileReadTextResponse;
Method or attribute name: export interface FileReadTextResponse
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: export interface FileReadTextOption
Old version information:
Class name: FileReadTextOption;
Method or attribute name: export interface FileReadTextOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: position?: number;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: position?: number;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: position?: number;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: position?: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: length?: number;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: length?: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: length?: number;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: length?: number;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadTextOption;
Method or attribute name: success?: (data: FileReadTextResponse) => void;
Old version information:
Class name: FileReadTextOption;
Method or attribute name: success?: (data: FileReadTextResponse) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: export interface FileWriteArrayBufferOption
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: export interface FileWriteArrayBufferOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileWriteArrayBufferOption;
Method or attribute name: buffer: Uint8Array;
Old version information:
Class name: FileWriteArrayBufferOption;
Method or attribute name: buffer: Uint8Array;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferResponse;
Method or attribute name: buffer: Uint8Array;
Old version information:
Class name: FileReadArrayBufferResponse;
Method or attribute name: buffer: Uint8Array;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferResponse;
Method or attribute name: export interface FileReadArrayBufferResponse
Old version information:
Class name: FileReadArrayBufferResponse;
Method or attribute name: export interface FileReadArrayBufferResponse
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: export interface FileReadArrayBufferOption
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: export interface FileReadArrayBufferOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileReadArrayBufferOption;
Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;
Old version information:
Class name: FileReadArrayBufferOption;
Method or attribute name: success?: (data: FileReadArrayBufferResponse) => void;
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileAccessOption;
Method or attribute name: export interface FileAccessOption
Old version information:
Class name: FileAccessOption;
Method or attribute name: export interface FileAccessOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileMkdirOption;
Method or attribute name: export interface FileMkdirOption
Old version information:
Class name: FileMkdirOption;
Method or attribute name: export interface FileMkdirOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: FileRmdirOption;
Method or attribute name: export interface FileRmdirOption
Old version information:
Class name: FileRmdirOption;
Method or attribute name: export interface FileRmdirOption
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: export default class File
Old version information:
Class name: File;
Method or attribute name: export default class File
New version information: 10
Substitute API:
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static move(options: FileMoveOption): void;
Old version information:
Class name: File;
Method or attribute name: static move(options: FileMoveOption): void;
New version information: 10
Substitute API: ohos.file.fs.moveFile
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static copy(options: FileCopyOption): void;
Old version information:
Class name: File;
Method or attribute name: static copy(options: FileCopyOption): void;
New version information: 10
Substitute API: ohos.file.fs.copyFile
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static list(options: FileListOption): void;
Old version information:
Class name: File;
Method or attribute name: static list(options: FileListOption): void;
New version information: 10
Substitute API: ohos.file.fs.listFile
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static get(options: FileGetOption): void;
Old version information:
Class name: File;
Method or attribute name: static get(options: FileGetOption): void;
New version information: 10
Substitute API: ohos.file.fs.stat
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static delete(options: FileDeleteOption): void;
Old version information:
Class name: File;
Method or attribute name: static delete(options: FileDeleteOption): void;
New version information: 10
Substitute API: ohos.file.fs.unlink
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static writeText(options: FileWriteTextOption): void;
Old version information:
Class name: File;
Method or attribute name: static writeText(options: FileWriteTextOption): void;
New version information: 10
Substitute API: ohos.file.fs.write
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static readText(options: FileReadTextOption): void;
Old version information:
Class name: File;
Method or attribute name: static readText(options: FileReadTextOption): void;
New version information: 10
Substitute API: ohos.file.fs.readText
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
Old version information:
Class name: File;
Method or attribute name: static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
New version information: 10
Substitute API: ohos.file.fs.write
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;
Old version information:
Class name: File;
Method or attribute name: static readArrayBuffer(options: FileReadArrayBufferOption): void;
New version information: 10
Substitute API: ohos.file.fs.read
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static access(options: FileAccessOption): void;
Old version information:
Class name: File;
Method or attribute name: static access(options: FileAccessOption): void;
New version information: 10
Substitute API: ohos.file.fs.access
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static mkdir(options: FileMkdirOption): void;
Old version information:
Class name: File;
Method or attribute name: static mkdir(options: FileMkdirOption): void;
New version information: 10
Substitute API: ohos.file.fs.mkdir
@system.file.d.ts
Deprecated version changed Class name: File;
Method or attribute name: static rmdir(options: FileRmdirOption): void;
Old version information:
Class name: File;
Method or attribute name: static rmdir(options: FileRmdirOption): void;
New version information: 10
Substitute API: ohos.file.fs.rmdir
@system.file.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback<string>): void;
New version information: Parameter
@ohos.document.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback<string>): void;
New version information: Parameter
@ohos.document.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.document.d.ts
Error code added Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
Old version information:
Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
New version information: 202, 13900020, 13900042
@ohos.file.environment.d.ts
Error code added Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
Old version information:
Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
New version information: 202, 13900020, 13900042
@ohos.file.environment.d.ts
Error code added Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
Old version information:
Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042, 14000001, 14000002, 14000003,14000004, 14300001, 14300002, 14300003,14300004
@ohos.file.fileAccess.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<boolean>): void;
New version information: 13900002, 13900005, 13900008, 13900011, 13900012, 13900013,13900018, 13900020, 13900023,13900030, 13900033,13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function close(file: number |File, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function close(file: number |File, callback: AsyncCallback<void>): void;
New version information: 13900004, 13900005, 13900008, 13900025, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
New version information: 13900002, 13900004, 13900005, 13900008, 13900010, 13900011, 13900012, 13900013,13900018, 13900019, 13900020, 13900030, 13900031, 13900033,13900034, 13900038, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string |number,
dest: string |number,
mode: number,
callback: AsyncCallback<void>
): 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>
): void;
New version information: 13900002, 13900004, 13900005, 13900008, 13900010, 13900011, 13900012, 13900013,13900018, 13900019, 13900020, 13900030, 13900031, 13900033,13900034, 13900038, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
New version information: 13900005, 13900008, 13900020, 13900025, 13900027, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900010, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
New version information: 13900005, 13900008, 13900020, 13900025, 13900027, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
},
callback: AsyncCallback<string[]>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
},
callback: AsyncCallback<string[]>
): void;
New version information: 13900002, 13900008, 13900011, 13900018, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
New version information: 13900002, 13900008, 13900011, 13900012, 13900013,13900018, 13900030, 13900033,13900038, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900015, 13900018, 13900020, 13900025, 13900028, 13900030, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900015, 13900018, 13900020, 13900025, 13900028, 13900030, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<File>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<File>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback<File>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback<File>): void;
New version information: 13900001, 13900002, 13900004, 13900006, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900017, 13900018, 13900019, 13900020, 13900022, 13900023,13900024, 13900025, 13900027, 13900029, 13900030, 13900033,13900034, 13900038, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
New version information: 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900034, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
New version information: 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900034, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900011, 13900012, 13900013,13900014, 13900018, 13900020, 13900027, 13900030, 13900032, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number, callback: AsyncCallback<Stat>): void;
New version information: 13900002, 13900004, 13900005, 13900008, 13900011, 13900012, 13900013,13900018, 13900030, 13900031, 13900033,13900038, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900005, 13900008, 13900011, 13900012, 13900013,13900015, 13900018, 13900025, 13900027, 13900030, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900004, 13900005, 13900008, 13900012, 13900013,13900018, 13900019, 13900020, 13900023,13900024, 13900027, 13900030, 13900033,13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len: number, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900004, 13900005, 13900008, 13900012, 13900013,13900018, 13900019, 13900020, 13900023,13900024, 13900027, 13900030, 13900033,13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900005, 13900008, 13900011, 13900012, 13900013,13900014, 13900018, 13900019, 13900020, 13900027, 13900030, 13900033,13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: File;
Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback<void>): void;
Old version information:
Class name: File;
Method or attribute name: lock(exclusive: boolean, callback: AsyncCallback<void>): void;
New version information: 13900004, 13900008, 13900020, 13900034, 13900042, 13900043
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: 13900004, 13900005, 13900008, 13900025, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
Old version information:
Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: 13900001, 13900004, 13900005, 13900008, 13900010, 13900013,13900020, 13900024, 13900025, 13900034, 13900041, 13900042
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
Old version information:
Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
New version information: 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900034, 13900042
@ohos.file.fs.d.ts
Error code added Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
New version information: 13900004, 13900005, 13900008, 13900010, 13900013,13900019, 13900020, 13900034, 13900042
@ohos.file.fs.d.ts
Error code added Class name: hash;
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: hash;
Method or attribute name: function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
New version information: 13900020, 13900042
@ohos.file.hash.d.ts
Error code added Class name: securityLabel;
Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback<void>): void;
Old version information:
Class name: securityLabel;
Method or attribute name: function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900007, 13900015, 13900020, 13900025, 13900037, 13900041, 13900042
@ohos.file.securityLabel.d.ts
Error code added Class name: securityLabel;
Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: securityLabel;
Method or attribute name: function getSecurityLabel(path: string, callback: AsyncCallback<string>): void;
New version information: 13900001, 13900007, 13900015, 13900020, 13900025, 13900037, 13900041, 13900042
@ohos.file.securityLabel.d.ts
Error code added Class name: statfs;
Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: statfs;
Method or attribute name: function getFreeSize(path: string, callback: AsyncCallback<number>): void;
New version information: 13900002, 13900004, 13900005, 13900008, 13900011, 13900012, 13900013,13900018, 13900030, 13900031, 13900033,13900038, 13900042
@ohos.file.statvfs.d.ts
Error code added Class name: statfs;
Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: statfs;
Method or attribute name: function getTotalSize(path: string, callback: AsyncCallback<number>): void;
New version information: 13900002, 13900004, 13900005, 13900008, 13900011, 13900012, 13900013,13900018, 13900030, 13900031, 13900033,13900038, 13900042
@ohos.file.statvfs.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise<BundleStats>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise<BundleStats>;
New version information: 401, 13600001, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
New version information: 201,202,401, 13600001, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
New version information: 201,202,401, 13600001, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
New version information: 201,202,401, 13600001, 13600009, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
New version information: 201,202,401, 13600001, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
New version information: 201,202,401, 13600001, 13900042
@ohos.file.storageStatistics.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
New version information: 201,202,401, 13600001, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
New version information: 201,202,401, 13600001, 13600002, 13600003,13600005, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
New version information: 201,202,401, 13600001, 13600002, 13600004, 13600005, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
New version information: 201,202,401, 13600001, 13600002, 13600005, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
New version information: 201,202,401, 13600001, 13600002, 13600005, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
New version information: 201,202,401, 13600001, 13600008, 13900042
@ohos.file.volumeManager.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string |number,
dest: string |number,
mode: number,
callback: AsyncCallback<void>
): 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>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback<Stream>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback<Stat>): void;
New version information: fstat
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback<Stream>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback<string>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback<Stat>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<number>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback<number>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback<number>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback<Dir>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback<Dir>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback<ReadOut>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback<ReadOut>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback<Stat>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Dir;
Method or attribute name: read(callback: AsyncCallback<Dirent>): void;
Old version information:
Class name: Dir;
Method or attribute name: read(callback: AsyncCallback<Dirent>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Dir;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: Dir;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: close
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
Old version information:
Class name: Stream;
Method or attribute name: close(callback: AsyncCallback<void>): void;
New version information: close
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
Old version information:
Class name: Stream;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: Stream;
Method or attribute name: write(buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: Stream;
Method or attribute name: write(
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
Old version information:
Class name: Stream;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback<ReadOut>): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
position?: number;
offset?: number;
length?: number;
},
callback: AsyncCallback<ReadOut>
): void;
Old version information:
Class name: Stream;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
position?: number;
offset?: number;
length?: number;
},
callback: AsyncCallback<ReadOut>
): void;
New version information: Parameter
@ohos.fileio.d.ts
Error code added Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
Old version information:
Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback<void>): void;
New version information: stop
@ohos.fileio.d.ts
Error code added Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
Old version information:
Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
New version information: 201,202,401, 143000001
@ohos.fileshare.d.ts
Error code changed Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise<void>;
Old version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900015, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise<void>;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code changed Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void;
Old version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900015, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code changed Class name: sourcefile;
Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;
Old version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900015, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
Class name: sourcefile;
Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
Old version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900015, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code changed Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
Old version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900015, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
New version information: 13900001, 13900002, 13900008, 13900011, 13900012, 13900013,13900014, 13900015, 13900016, 13900018, 13900019, 13900020, 13900025, 13900027, 13900028, 13900032, 13900033,13900041, 13900042
@ohos.file.fs.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback<number>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback<BundleStats>): void;
Old version information: 13600001, 13900032,401
Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(callback: AsyncCallback<BundleStats>): void;
New version information: 13600001, 13900042,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getSystemSize(callback: AsyncCallback<number>): void;
Old version information: 13600001, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getSystemSize(callback: AsyncCallback<number>): void;
New version information: 13600001, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(): Promise<StorageStats>;
Old version information: 13600001, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(): Promise<StorageStats>;
New version information: 13600001, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number): Promise<StorageStats>;
Old version information: 13600001, 13600009, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number): Promise<StorageStats>;
New version information: 13600001, 13600009, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getTotalSize(callback: AsyncCallback<number>): void;
Old version information: 13600001, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getTotalSize(callback: AsyncCallback<number>): void;
New version information: 13600001, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: storageStatistics;
Method or attribute name: function getFreeSize(callback: AsyncCallback<number>): void;
Old version information: 13600001, 13900032,201,202,401
Class name: storageStatistics;
Method or attribute name: function getFreeSize(callback: AsyncCallback<number>): void;
New version information: 13600001, 13900042,201,202,401
@ohos.file.storageStatistics.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function getAllVolumes(callback: AsyncCallback<Array<Volume>>): void;
Old version information: 13600001, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function getAllVolumes(callback: AsyncCallback<Array<Volume>>): void;
New version information: 13600001, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function mount(volumeId: string, callback: AsyncCallback<void>): void;
Old version information: 13600001, 13600002, 13600003,13600005, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function mount(volumeId: string, callback: AsyncCallback<void>): void;
New version information: 13600001, 13600002, 13600003,13600005, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback<void>): void;
Old version information: 13600001, 13600002, 13600004, 13600005, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string, callback: AsyncCallback<void>): void;
New version information: 13600001, 13600002, 13600004, 13600005, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback<Volume>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string, callback: AsyncCallback<Volume>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback<Volume>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string, callback: AsyncCallback<Volume>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback<void>): void;
Old version information: 13600001, 13600002, 13600005, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback<void>): void;
New version information: 13600001, 13600002, 13600005, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void;
Old version information: 13600001, 13600002, 13600005, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string, callback: AsyncCallback<void>): void;
New version information: 13600001, 13600002, 13600005, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Error code changed Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback<void>): void;
Old version information: 13600001, 13600008, 13900032,201,202,401
Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number, callback: AsyncCallback<void>): void;
New version information: 13600001, 13600008, 13900042,201,202,401
@ohos.file.volumeManager.d.ts
Access level changed Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
Old version information:
Class name: Environment;
Method or attribute name: function getStorageDataDir(callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.environment.d.ts
Access level changed Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
Old version information:
Class name: Environment;
Method or attribute name: function getUserDataDir(callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.environment.d.ts
Access level changed Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
Old version information:
Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: uri: string;
Old version information:
Class name: FileInfo;
Method or attribute name: uri: string;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: RootInfo;
Method or attribute name: uri: string;
Old version information:
Class name: RootInfo;
Method or attribute name: uri: string;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: fileName: string;
Old version information:
Class name: FileInfo;
Method or attribute name: fileName: string;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: mode: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mode: number;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: size: number;
Old version information:
Class name: FileInfo;
Method or attribute name: size: number;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: mtime: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mtime: number;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileInfo;
Method or attribute name: mimeType: string;
Old version information:
Class name: FileInfo;
Method or attribute name: mimeType: string;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: RootInfo;
Method or attribute name: deviceType: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceType: number;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: RootInfo;
Method or attribute name: displayName: string;
Old version information:
Class name: RootInfo;
Method or attribute name: displayName: string;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: RootInfo;
Method or attribute name: deviceFlags: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceFlags: number;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: OPENFLAGS;
Method or attribute name: READ = 0o0
Old version information:
Class name: OPENFLAGS;
Method or attribute name: READ = 0o0
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: OPENFLAGS;
Method or attribute name: WRITE = 0o1
Old version information:
Class name: OPENFLAGS;
Method or attribute name: WRITE = 0o1
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: OPENFLAGS;
Method or attribute name: WRITE_READ = 0o2
Old version information:
Class name: OPENFLAGS;
Method or attribute name: WRITE_READ = 0o2
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
New version information: systemapi
@ohos.file.fileAccess.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_LOCAL_DISK = 1
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_LOCAL_DISK = 1
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_DISK
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_DISK
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_TERMINAL
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_SHARED_TERMINAL
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_NETWORK_NEIGHBORHOODS
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_MTP
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_MTP
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_USB
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_USB
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_CLOUD
Old version information:
Class name: DeviceType;
Method or attribute name: DEVICE_EXTERNAL_CLOUD
New version information: systemapi
@ohos.file.fileExtensionInfo.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
New version information: systemapi
@ohos.file.storageStatistics.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: Volume;
Method or attribute name: path: string;
Old version information:
Class name: Volume;
Method or attribute name: path: string;
New version information: systemapi
@ohos.file.volumeManager.d.ts
Access level changed Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
Old version information:
Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
New version information: systemapi
@ohos.fileshare.d.ts
Permission changed Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
Old version information:
Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
New version information: ohos.permission.FILE_ACCESS_MANAGER,ohos.permission.GET_BUNDLE_INFO_PRIVILEGED
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: uri: string;
Old version information:
Class name: FileInfo;
Method or attribute name: uri: string;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: RootInfo;
Method or attribute name: uri: string;
Old version information:
Class name: RootInfo;
Method or attribute name: uri: string;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: fileName: string;
Old version information:
Class name: FileInfo;
Method or attribute name: fileName: string;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: mode: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mode: number;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: size: number;
Old version information:
Class name: FileInfo;
Method or attribute name: size: number;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: mtime: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mtime: number;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileInfo;
Method or attribute name: mimeType: string;
Old version information:
Class name: FileInfo;
Method or attribute name: mimeType: string;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: RootInfo;
Method or attribute name: deviceType: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceType: number;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: RootInfo;
Method or attribute name: displayName: string;
Old version information:
Class name: RootInfo;
Method or attribute name: displayName: string;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: RootInfo;
Method or attribute name: deviceFlags: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceFlags: number;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: delete(uri: string, callback: AsyncCallback<number>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string, callback: AsyncCallback<string>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string, callback: AsyncCallback<string>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
Old version information:
Class name: FileAccessHelper;
Method or attribute name: getRoots(callback: AsyncCallback<RootIterator>): void;
New version information: ohos.permission.FILE_ACCESS_MANAGER
@ohos.file.fileAccess.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise<number>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise<BundleStats>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise<number>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback<StorageStats>): void;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback<StorageStats>): void;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise<number>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
Old version information:
Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise<number>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.storageStatistics.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise<Array<Volume>>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise<void>;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise<void>;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise<Volume>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
Old version information:
Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise<Volume>;
New version information: ohos.permission.STORAGE_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise<void>;
New version information: ohos.permission.MOUNT_UNMOUNT_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise<void>;
New version information: ohos.permission.MOUNT_FORMAT_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
Old version information:
Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise<void>;
New version information: ohos.permission.MOUNT_FORMAT_MANAGER
@ohos.file.volumeManager.d.ts
Permission changed Class name: fileShare;
Method or attribute name: function grantUriPermission(
uri: string,
bundleName: string,
flag: wantConstant.Flags,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: fileShare;
Method or attribute name: function grantUriPermission(
uri: string,
bundleName: string,
flag: wantConstant.Flags,
callback: AsyncCallback<void>
): void;
New version information: ohos.permission.WRITE_MEDIA
@ohos.fileshare.d.ts
Permission changed Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
Old version information:
Class name: fileShare;
Method or attribute name: function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise<void>;
New version information: ohos.permission.WRITE_MEDIA
@ohos.fileshare.d.ts
Model changed Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
Old version information:
Class name: fileAccess;
Method or attribute name: function getFileAccessAbilityInfo(): Promise<Array<Want>>;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: uri: string;
Old version information:
Class name: FileInfo;
Method or attribute name: uri: string;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: RootInfo;
Method or attribute name: uri: string;
Old version information:
Class name: RootInfo;
Method or attribute name: uri: string;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: fileName: string;
Old version information:
Class name: FileInfo;
Method or attribute name: fileName: string;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: mode: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mode: number;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: size: number;
Old version information:
Class name: FileInfo;
Method or attribute name: size: number;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: mtime: number;
Old version information:
Class name: FileInfo;
Method or attribute name: mtime: number;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileInfo;
Method or attribute name: mimeType: string;
Old version information:
Class name: FileInfo;
Method or attribute name: mimeType: string;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: RootInfo;
Method or attribute name: deviceType: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceType: number;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: RootInfo;
Method or attribute name: displayName: string;
Old version information:
Class name: RootInfo;
Method or attribute name: displayName: string;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: RootInfo;
Method or attribute name: deviceFlags: number;
Old version information:
Class name: RootInfo;
Method or attribute name: deviceFlags: number;
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: OPENFLAGS;
Method or attribute name: READ = 0o0
Old version information:
Class name: OPENFLAGS;
Method or attribute name: READ = 0o0
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: OPENFLAGS;
Method or attribute name: WRITE = 0o1
Old version information:
Class name: OPENFLAGS;
Method or attribute name: WRITE = 0o1
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: OPENFLAGS;
Method or attribute name: WRITE_READ = 0o2
Old version information:
Class name: OPENFLAGS;
Method or attribute name: WRITE_READ = 0o2
New version information: StageModelOnly
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: interface FileAccessHelper
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: interface FileAccessHelper
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS): Promise<number>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: openFile(uri: string, flags: OPENFLAGS): Promise<number>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string): Promise<string>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: createFile(uri: string, displayName: string): Promise<string>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string): Promise<string>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: mkDir(parentUri: string, displayName: string): Promise<string>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: delete(uri: string): Promise<number>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: delete(uri: string): Promise<number>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string): Promise<string>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: move(sourceFile: string, destFile: string): Promise<string>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string): Promise<string>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: rename(uri: string, displayName: string): Promise<string>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string): Promise<boolean>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: access(sourceFileUri: string): Promise<boolean>;
New version information:
@ohos.file.fileAccess.d.ts
Model changed Class name: FileAccessHelper;
Method or attribute name: getRoots(): Promise<RootIterator>;
Old version information: StageModelOnly
Class name: FileAccessHelper;
Method or attribute name: getRoots(): Promise<RootIterator>;
New version information:
@ohos.file.fileAccess.d.ts
Type changed Class name: Stat;
Method or attribute name: readonly ino: bigint;
Old version information: number
Class name: Stat;
Method or attribute name: readonly ino: bigint;
New version information: bigint
@ohos.file.fs.d.ts
Type changed Class name: Stat;
Method or attribute name: readonly mode: number;
Old version information: bigint
Class name: Stat;
Method or attribute name: readonly mode: number;
New version information: number
@ohos.file.fs.d.ts
Type changed Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;
Old version information: PhotoViewMIMETypes
Class name: PhotoSelectOptions;
Method or attribute name: MIMEType?: PhotoViewMIMETypes;
New version information: ?PhotoViewMIMETypes
@ohos.file.picker.d.ts
Type changed Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;
Old version information: number
Class name: PhotoSelectOptions;
Method or attribute name: maxSelectNumber?: number;
New version information: ?number
@ohos.file.picker.d.ts
Type changed Class name: PhotoSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
Old version information: Array<string>
Class name: PhotoSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
New version information: ?Array<string>
@ohos.file.picker.d.ts
Type changed Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
Old version information: Array<string>
Class name: DocumentSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
New version information: ?Array<string>
@ohos.file.picker.d.ts
Type changed Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
Old version information: Array<string>
Class name: AudioSaveOptions;
Method or attribute name: newFileNames?: Array<string>;
New version information: ?Array<string>
@ohos.file.picker.d.ts
Function changed Class name: sourcefile;
Method or attribute name: declare function closeSync(fd: number |File): void;
Class name: sourcefile;
Method or attribute name: declare function closeSync(file: number |File): void;
@ohos.file.fs.d.ts
Function changed Class name: AbsAlbum;
Method or attribute name: readonly coverUri: string;
Class name: AbsAlbum;
Method or attribute name: coverUri: string;
@ohos.filemanagement.userFileManager.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function access(path: string): Promise<boolean>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string): Promise<boolean>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function accessSync(path: string): boolean;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function accessSync(path: string): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function close(file: number |File): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function close(file: number |File): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function close(file: number |File, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function close(file: number |File, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function closeSync(file: number |File): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function closeSync(file: number |File): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode?: number): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, mode?: number): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string |number, dest: string |number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string |number,
dest: string |number,
mode: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string |number,
dest: string |number,
mode: number,
callback: AsyncCallback<void>
): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function copyFileSync(src: string |number, dest: string |number, mode?: number): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function copyFileSync(src: string |number, dest: string |number, mode?: number): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fdatasyncSync(fd: number): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fdatasyncSync(fd: number): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function fsyncSync(fd: number): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function fsyncSync(fd: number): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}
): Promise<string[]>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}
): Promise<string[]>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, callback: AsyncCallback<string[]>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function listFile(path: string, callback: AsyncCallback<string[]>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
},
callback: AsyncCallback<string[]>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function listFile(
path: string,
options: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
},
callback: AsyncCallback<string[]>
): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function listFileSync(
path: string,
options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}
): string[];
Old version information:
Class name: sourcefile;
Method or attribute name: declare function listFileSync(
path: string,
options?: {
recursion?: boolean;
listNum?: number;
filter?: Filter;
}
): string[];
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdirSync(path: string): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdirSync(path: string): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string): Promise<string>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string): Promise<string>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function mkdtempSync(prefix: string): string;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function mkdtempSync(prefix: string): string;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode?: number): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function moveFileSync(src: string, dest: string, mode?: number): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode?: number): Promise<File>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode?: number): Promise<File>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<File>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback<File>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback<File>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function open(path: string, mode: number, callback: AsyncCallback<File>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function openSync(path: string, mode?: number): File;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function openSync(path: string, mode?: number): File;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise<number>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise<number>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback<number>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback<number>
): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function readSync(
fd: number,
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readSync(
fd: number,
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise<string>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise<string>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback<string>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(filePath: string, callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readText(
filePath: string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<string>
): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function readTextSync(
filePath: string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): string;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function readTextSync(
filePath: string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): string;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function renameSync(oldPath: string, newPath: string): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function rmdirSync(path: string): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function rmdirSync(path: string): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number): Promise<Stat>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number): Promise<Stat>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number, callback: AsyncCallback<Stat>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function stat(file: string |number, callback: AsyncCallback<Stat>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function statSync(file: string |number): Stat;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function statSync(file: string |number): Stat;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len?: number): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len?: number): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncate(file: string |number, len: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function truncateSync(file: string |number, len?: number): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function truncateSync(file: string |number, len?: number): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function unlink(path: string): Promise<void>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string): Promise<void>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function unlinkSync(path: string): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function unlinkSync(path: string): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise<number>;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise<number>;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer |string, callback: AsyncCallback<number>): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function write(
fd: number,
buffer: ArrayBuffer |string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback<number>
): void;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: declare function writeSync(
fd: number,
buffer: ArrayBuffer |string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): number;
Old version information:
Class name: sourcefile;
Method or attribute name: declare function writeSync(
fd: number,
buffer: ArrayBuffer |string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: sourcefile;
Method or attribute name: export type Filter = {
/
* @type { ?Array<string> }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
suffix?: Array<string>;
/

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

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

* @type { ?boolean }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
excludeMedia?: boolean;
};
Old version information:
Class name: sourcefile;
Method or attribute name: export type Filter = {
/
* @type { ?Array<string> }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
suffix?: Array<string>;
/

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

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

* @type { ?boolean }
* @syscap SystemCapability.FileManagement.File.FileIO
* @since 10
*/
excludeMedia?: boolean;
};
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: fileIo;
Method or attribute name: declare fileIo
Old version information:
Class name: fileIo;
Method or attribute name: declare fileIo
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: OpenMode;
Method or attribute name: OpenMode
Old version information:
Class name: OpenMode;
Method or attribute name: OpenMode
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: declare interface File
Old version information:
Class name: File;
Method or attribute name: declare interface File
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: readonly fd: number;
Old version information:
Class name: File;
Method or attribute name: readonly fd: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: declare interface Stat
Old version information:
Class name: Stat;
Method or attribute name: declare interface Stat
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly ino: bigint;
Old version information:
Class name: Stat;
Method or attribute name: readonly ino: bigint;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly mode: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly mode: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly uid: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly uid: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly gid: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly gid: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly size: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly size: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly atime: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly atime: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly mtime: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly mtime: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: readonly ctime: number;
Old version information:
Class name: Stat;
Method or attribute name: readonly ctime: number;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isBlockDevice(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isBlockDevice(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isCharacterDevice(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isCharacterDevice(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isDirectory(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isDirectory(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isFIFO(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isFIFO(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isFile(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isFile(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isSocket(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isSocket(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts
Cross-platform capability changed Class name: Stat;
Method or attribute name: isSymbolicLink(): boolean;
Old version information:
Class name: Stat;
Method or attribute name: isSymbolicLink(): boolean;
New version information: crossplatform
@ohos.file.fs.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

0  赞