| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|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'): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: start(): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: start(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: stop(): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: GallerySync;
Method or attribute name: stop(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: RUNNING|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: State;
Method or attribute name: FAILED|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: state: State;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: processed: number;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: size: number;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: DownloadProgress;
Method or attribute name: uri: string;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: start(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: start(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: Download;
Method or attribute name: stop(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function enableCloud(
accountId: string,
switches: { [bundleName: string]: boolean },
callback: AsyncCallback\
): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function disableCloud(accountId: string, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: cloudSyncManager;
Method or attribute name: function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: Action;
Method or attribute name: RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: Action;
Method or attribute name: CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: sourcefile;
Method or attribute name: declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly fd: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readonly filePointer: number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: close(): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: write(
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: writeSync(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise\;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(buffer: ArrayBuffer, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts|
|Added|NA|Class name: RandomAccessFile;
Method or attribute name: readSync(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;|@ohos.file.fs.d.ts|
|Added|NA|Class name: photoAccessHelper;
Method or attribute name: function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: photoAccessHelper;
Method or attribute name: type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoType;
Method or attribute name: IMAGE = 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoType;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: VIDEO|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSubtype;
Method or attribute name: DEFAULT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PositionType;
Method or attribute name: CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly uri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: open(mode: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getReadOnlyFd(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: close(fd: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size: image.Size, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: getThumbnail(size?: image.Size): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setFavorite(favoriteState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAsset;
Method or attribute name: setHidden(hiddenState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: 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: AlbumKeys;
Method or attribute name: ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchOptions;
Method or attribute name: fetchColumns: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchOptions;
Method or attribute name: predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoCreateOptions;
Method or attribute name: subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: CreateOptions;
Method or attribute name: title?: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getCount(): number;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getFirstObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getNextObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getLastObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getObjectByPosition(index: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: getAllObjects(): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: FetchResult;
Method or attribute name: close(): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: USER = 0|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumType;
Method or attribute name: SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: HIDDEN|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: TRASH|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: CAMERA|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AlbumSubtype;
Method or attribute name: ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: albumName: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly count: number;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: AbsAlbum;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: addAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: removeAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: recoverAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: deleteAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: Album;
Method or attribute name: setCoverUri(uri: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: createAlbum(name: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAlbums(albums: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: deleteAssets(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: unRegisterChange(uri: string, callback?: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: PhotoAccessHelper;
Method or attribute name: release(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: NotifyType;
Method or attribute name: NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: DefaultChangeUri;
Method or attribute name: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: type: NotifyType;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: uris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Added|NA|Class name: ChangeData;
Method or attribute name: extraUris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: document;
Method or attribute name: declare document
Old version information: |Class name: document;
Method or attribute name: declare document
New version information: 9
Substitute API: |@ohos.document.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.access|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.close|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
New version information: 9
Substitute API: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.createStream|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fsync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fsync|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fstat(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdatasync(fd: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdatasync|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.hash.hash|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: |@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function lstat(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.lstat|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.open|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function opendir(path: string, callback: AsyncCallback\): 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\
): 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\
): 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\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): 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\
): 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\
): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function rmdir(path: string, callback: AsyncCallback\): 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\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function stat(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.stat|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
New version information: 9
Substitute API: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|Deprecated version changed|Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function unlink(path: string, callback: AsyncCallback\): 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\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): 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\
): 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\
): 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\): Watcher;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createWatcher(filename: string, events: number, callback: AsyncCallback\): 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\): void;
Old version information: |Class name: Dir;
Method or attribute name: read(callback: AsyncCallback\): 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;
Old version information: |Class name: Dir;
Method or attribute name: close(callback: AsyncCallback\): 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\;
Old version information: |Class name: Watcher;
Method or attribute name: stop(): Promise\;
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;
Old version information: |Class name: Watcher;
Method or attribute name: stop(callback: AsyncCallback\): 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\;
Old version information: |Class name: Statfs;
Method or attribute name: function getFreeBytes(path: string): Promise\;
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\;
Old version information: |Class name: Statfs;
Method or attribute name: function getTotalBytes(path: string): Promise\;
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\;
Old version information: |Class name: FileResponse;
Method or attribute name: subFiles?: Array\;
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\;
Old version information: |Class name: FileListResponse;
Method or attribute name: fileList: Array\;
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\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(callback: AsyncCallback\): 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\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function choose(types: string[], callback: AsyncCallback\): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function show(uri: string, type: string, callback: AsyncCallback\): void;
New version information: Parameter|@ohos.document.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSizeOfVolume(volumeUuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSizeOfVolume(volumeUuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getBundleStats(packageName: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getCurrentBundleStats(): Promise\;
New version information: 401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getSystemSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(callback: AsyncCallback\): void;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
New version information: 201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getTotalSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
Old version information: |Class name: storageStatistics;
Method or attribute name: function getFreeSize(): Promise\;
New version information: 201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
Old version information: |Class name: volumeManager;
Method or attribute name: function getAllVolumes(): Promise\>;
New version information: 201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function mount(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function unmount(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeByUuid(uuid: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function getVolumeById(volumeId: string): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function setVolumeDescription(uuid: string, description: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function format(volumeId: string, fsType: string): Promise\;
New version information: 201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
Old version information: |Class name: volumeManager;
Method or attribute name: function partition(diskId: string, type: number): Promise\;
New version information: 201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|Error code added|Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function access(path: string, mode: number, callback: AsyncCallback\): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function close(fd: number, callback: AsyncCallback\): 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
New version information: Parameter|@ohos.fileio.d.ts|
|Error code added|Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
New version information: 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;
Old version information: |Class name: sourcefile;
Method or attribute name: declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
New version information: 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;