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<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: 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 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: 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: 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<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: 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: 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: 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>): 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: 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<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: 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: 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
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: 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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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,13900032
@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
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
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
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