| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:SyncState;
方法or属性:UPLOADING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;
方法or属性:UPLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;
方法or属性:DOWNLOADING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;
方法or属性:DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;
方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;
方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncState;
方法or属性:STOPPED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;
方法or属性:STOPPED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:NO_ERROR|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:ErrorType;
方法or属性:LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncProgress;
方法or属性:state: SyncState;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:SyncProgress;
方法or属性:error: ErrorType;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:constructor();|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:constructor();|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:start(): Promise\;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:start(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:stop(): Promise\;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:GallerySync;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;
方法or属性:RUNNING|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:State;
方法or属性:FAILED|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;
方法or属性:state: State;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;
方法or属性:processed: number;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;
方法or属性:size: number;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:DownloadProgress;
方法or属性:uri: string;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:start(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:start(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:stop(uri: string): Promise\;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:Download;
方法or属性:stop(uri: string, callback: AsyncCallback\): void;|@ohos.file.cloudSync.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function enableCloud(
accountId: string,
switches: { [bundleName: string]: boolean },
callback: AsyncCallback\
): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function disableCloud(accountId: string): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function disableCloud(accountId: string, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:cloudSyncManager;
方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\): void;|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:Action;
方法or属性:RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:Action;
方法or属性:CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts|
|新增|NA|类名:sourcefile;
方法or属性:declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;
方法or属性:declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;
方法or属性:declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:sourcefile;
方法or属性:declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:readonly fd: number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:readonly filePointer: number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:close(): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:write(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): Promise\;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:write(
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:writeSync(
buffer: ArrayBuffer \| string,
options?: {
offset?: number;
length?: number;
encoding?: string;
}
): number;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:read(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): Promise\;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:read(
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
},
callback: AsyncCallback\
): void;|@ohos.file.fs.d.ts|
|新增|NA|类名:RandomAccessFile;
方法or属性:readSync(
buffer: ArrayBuffer,
options?: {
offset?: number;
length?: number;
}
): number;|@ohos.file.fs.d.ts|
|新增|NA|类名:photoAccessHelper;
方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:photoAccessHelper;
方法or属性:type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoType;
方法or属性:IMAGE = 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoType;
方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoSubtype;
方法or属性:DEFAULT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoSubtype;
方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PositionType;
方法or属性:LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PositionType;
方法or属性:CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:readonly uri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:commitModify(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:commitModify(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:open(mode: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:open(mode: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:getReadOnlyFd(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:getReadOnlyFd(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:close(fd: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:close(fd: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:getThumbnail(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:getThumbnail(size?: image.Size): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:setFavorite(favoriteState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAsset;
方法or属性:setHidden(hiddenState: boolean): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumKeys;
方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoKeys;
方法or属性:HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumKeys;
方法or属性:ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchOptions;
方法or属性:fetchColumns: Array\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchOptions;
方法or属性:predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoCreateOptions;
方法or属性:subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:CreateOptions;
方法or属性:title?: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getCount(): number;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getFirstObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getFirstObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getNextObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getNextObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getLastObject(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getLastObject(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getObjectByPosition(index: number): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getAllObjects(callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:getAllObjects(): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:FetchResult;
方法or属性:close(): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumType;
方法or属性:USER = 0|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumType;
方法or属性:SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:HIDDEN|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:TRASH|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:CAMERA|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AlbumSubtype;
方法or属性:ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:albumName: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:readonly count: number;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:AbsAlbum;
方法or属性:getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:getAssets(options: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:addAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:addAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:removeAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:removeAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:recoverAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:recoverAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:deleteAssets(assets: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:deleteAssets(assets: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:setCoverUri(uri: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:Album;
方法or属性:setCoverUri(uri: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:createAlbum(name: string): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:deleteAlbums(albums: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:getAlbums(
type: AlbumType,
subtype: AlbumSubtype,
options: FetchOptions,
callback: AsyncCallback\>
): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\>): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\>;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\, callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:deleteAssets(uriList: Array\): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:unRegisterChange(uri: string, callback?: Callback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:PhotoAccessHelper;
方法or属性:release(): Promise\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;
方法or属性:NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;
方法or属性:NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;
方法or属性:NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;
方法or属性:NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:NotifyType;
方法or属性:NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:DefaultChangeUri;
方法or属性:DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:DefaultChangeUri;
方法or属性:DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;
方法or属性:type: NotifyType;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;
方法or属性:uris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|新增|NA|类名:ChangeData;
方法or属性:extraUris: Array\;|@ohos.file.photoAccessHelper.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function choose(callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function choose(callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function choose(types: string[], callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function choose(types: string[], callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:document;
方法or属性:declare document
旧版本信息:|类名:document;
方法or属性:declare document
新版本信息:9
代替接口:|@ohos.document.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function access(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function access(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.access|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.access|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function close(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function close(fd: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.close|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
新版本信息:9
代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.createStream|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fsync(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fsync(fd: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.fsync|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fstat(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fstat(fd: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.fdatasync|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.hash.hash|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口:|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function lstat(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function lstat(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.lstat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function mkdir(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function mkdir(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function open(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function open(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.open|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function opendir(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function opendir(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function readText(
filePath: string,
options: {
position?: number;
length?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
新版本信息:9
代替接口: ohos.file.fs.readText|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.read|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function read(
fd: number,
buffer: ArrayBuffer,
options: {
offset?: number;
length?: number;
position?: number;
},
callback: AsyncCallback\
): void;
新版本信息:9
代替接口: ohos.file.fs.read|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.rename|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function rmdir(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function rmdir(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.rmdir|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function stat(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function stat(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.symlink|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function truncate(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function truncate(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function unlink(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function unlink(path: string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.unlink|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.write|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function write(
fd: number,
buffer: ArrayBuffer \| string,
options: {
offset?: number;
length?: number;
position?: number;
encoding?: string;
},
callback: AsyncCallback\
): void;
新版本信息:9
代替接口: ohos.file.fs.write|@ohos.fileio.d.ts|
|废弃版本有变化|类名:sourcefile;
方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\): Watcher;
旧版本信息:|类名:sourcefile;
方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\): Watcher;
新版本信息:10
代替接口: ohos.file.fs.createWatcher|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;
方法or属性:declare interface Dir
旧版本信息:|类名:Dir;
方法or属性:declare interface Dir
新版本信息:9
代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;
方法or属性:read(callback: AsyncCallback\): void;
旧版本信息:|类名:Dir;
方法or属性:read(callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Dir;
方法or属性:close(callback: AsyncCallback\): void;
旧版本信息:|类名:Dir;
方法or属性:close(callback: AsyncCallback\): void;
新版本信息:9
代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;
方法or属性:declare interface Watcher
旧版本信息:|类名:Watcher;
方法or属性:declare interface Watcher
新版本信息:10
代替接口: ohos.file.fs.Watcher|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;
方法or属性:stop(): Promise\;
旧版本信息:|类名:Watcher;
方法or属性:stop(): Promise\;
新版本信息:10
代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Watcher;
方法or属性:stop(callback: AsyncCallback\): void;
旧版本信息:|类名:Watcher;
方法or属性:stop(callback: AsyncCallback\): void;
新版本信息:10
代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts|
|废弃版本有变化|类名:Statfs;
方法or属性:declare Statfs
旧版本信息:|类名:Statfs;
方法or属性:declare Statfs
新版本信息:9
代替接口: ohos.file.statvfs.statfs|@ohos.statfs.d.ts|
|废弃版本有变化|类名:Statfs;
方法or属性:function getFreeBytes(path: string): Promise\;
旧版本信息:|类名:Statfs;
方法or属性:function getFreeBytes(path: string): Promise\;
新版本信息:9
代替接口: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts|
|废弃版本有变化|类名:Statfs;
方法or属性:function getTotalBytes(path: string): Promise\;
旧版本信息:|类名:Statfs;
方法or属性:function getTotalBytes(path: string): Promise\;
新版本信息:9
代替接口: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:export interface FileResponse
旧版本信息:|类名:FileResponse;
方法or属性:export interface FileResponse
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:uri: string;
旧版本信息:|类名:FileResponse;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;
方法or属性:uri: string;
旧版本信息:|类名:FileListOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:uri: string;
旧版本信息:|类名:FileGetOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;
方法or属性:uri: string;
旧版本信息:|类名:FileDeleteOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:uri: string;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:uri: string;
旧版本信息:|类名:FileReadTextOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:uri: string;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:uri: string;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;
方法or属性:uri: string;
旧版本信息:|类名:FileAccessOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:uri: string;
旧版本信息:|类名:FileMkdirOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:uri: string;
旧版本信息:|类名:FileRmdirOption;
方法or属性:uri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:length: number;
旧版本信息:|类名:FileResponse;
方法or属性:length: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:lastModifiedTime: number;
旧版本信息:|类名:FileResponse;
方法or属性:lastModifiedTime: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:type: 'dir' \| 'file';
旧版本信息:|类名:FileResponse;
方法or属性:type: 'dir' \| 'file';
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileResponse;
方法or属性:subFiles?: Array\;
旧版本信息:|类名:FileResponse;
方法or属性:subFiles?: Array\;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:export interface FileMoveOption
旧版本信息:|类名:FileMoveOption;
方法or属性:export interface FileMoveOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:srcUri: string;
旧版本信息:|类名:FileMoveOption;
方法or属性:srcUri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:srcUri: string;
旧版本信息:|类名:FileCopyOption;
方法or属性:srcUri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:dstUri: string;
旧版本信息:|类名:FileMoveOption;
方法or属性:dstUri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:dstUri: string;
旧版本信息:|类名:FileCopyOption;
方法or属性:dstUri: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:success?: (uri: string) => void;
旧版本信息:|类名:FileMoveOption;
方法or属性:success?: (uri: string) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:success?: (uri: string) => void;
旧版本信息:|类名:FileCopyOption;
方法or属性:success?: (uri: string) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileMoveOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileListOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileCopyOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileGetOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileDeleteOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileReadTextOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileAccessOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileMkdirOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:fail?: (data: string, code: number) => void;
旧版本信息:|类名:FileRmdirOption;
方法or属性:fail?: (data: string, code: number) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMoveOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileMoveOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileListOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileCopyOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileGetOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileDeleteOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileReadTextOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileAccessOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileMkdirOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:complete?: () => void;
旧版本信息:|类名:FileRmdirOption;
方法or属性:complete?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListResponse;
方法or属性:export interface FileListResponse
旧版本信息:|类名:FileListResponse;
方法or属性:export interface FileListResponse
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListResponse;
方法or属性:fileList: Array\;
旧版本信息:|类名:FileListResponse;
方法or属性:fileList: Array\;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;
方法or属性:export interface FileListOption
旧版本信息:|类名:FileListOption;
方法or属性:export interface FileListOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileListOption;
方法or属性:success?: (data: FileListResponse) => void;
旧版本信息:|类名:FileListOption;
方法or属性:success?: (data: FileListResponse) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileCopyOption;
方法or属性:export interface FileCopyOption
旧版本信息:|类名:FileCopyOption;
方法or属性:export interface FileCopyOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:export interface FileGetOption
旧版本信息:|类名:FileGetOption;
方法or属性:export interface FileGetOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:recursive?: boolean;
旧版本信息:|类名:FileGetOption;
方法or属性:recursive?: boolean;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:recursive?: boolean;
旧版本信息:|类名:FileMkdirOption;
方法or属性:recursive?: boolean;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:recursive?: boolean;
旧版本信息:|类名:FileRmdirOption;
方法or属性:recursive?: boolean;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileGetOption;
方法or属性:success?: (file: FileResponse) => void;
旧版本信息:|类名:FileGetOption;
方法or属性:success?: (file: FileResponse) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;
方法or属性:export interface FileDeleteOption
旧版本信息:|类名:FileDeleteOption;
方法or属性:export interface FileDeleteOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileDeleteOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileDeleteOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileAccessOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileMkdirOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:success?: () => void;
旧版本信息:|类名:FileRmdirOption;
方法or属性:success?: () => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:export interface FileWriteTextOption
旧版本信息:|类名:FileWriteTextOption;
方法or属性:export interface FileWriteTextOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:text: string;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:text: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextResponse;
方法or属性:text: string;
旧版本信息:|类名:FileReadTextResponse;
方法or属性:text: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:encoding?: string;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:encoding?: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:encoding?: string;
旧版本信息:|类名:FileReadTextOption;
方法or属性:encoding?: string;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteTextOption;
方法or属性:append?: boolean;
旧版本信息:|类名:FileWriteTextOption;
方法or属性:append?: boolean;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:append?: boolean;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:append?: boolean;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextResponse;
方法or属性:export interface FileReadTextResponse
旧版本信息:|类名:FileReadTextResponse;
方法or属性:export interface FileReadTextResponse
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:export interface FileReadTextOption
旧版本信息:|类名:FileReadTextOption;
方法or属性:export interface FileReadTextOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:position?: number;
旧版本信息:|类名:FileReadTextOption;
方法or属性:position?: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:position?: number;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:position?: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:position?: number;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:position?: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:length?: number;
旧版本信息:|类名:FileReadTextOption;
方法or属性:length?: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:length?: number;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:length?: number;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadTextOption;
方法or属性:success?: (data: FileReadTextResponse) => void;
旧版本信息:|类名:FileReadTextOption;
方法or属性:success?: (data: FileReadTextResponse) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:export interface FileWriteArrayBufferOption
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:export interface FileWriteArrayBufferOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileWriteArrayBufferOption;
方法or属性:buffer: Uint8Array;
旧版本信息:|类名:FileWriteArrayBufferOption;
方法or属性:buffer: Uint8Array;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferResponse;
方法or属性:buffer: Uint8Array;
旧版本信息:|类名:FileReadArrayBufferResponse;
方法or属性:buffer: Uint8Array;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferResponse;
方法or属性:export interface FileReadArrayBufferResponse
旧版本信息:|类名:FileReadArrayBufferResponse;
方法or属性:export interface FileReadArrayBufferResponse
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:export interface FileReadArrayBufferOption
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:export interface FileReadArrayBufferOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileReadArrayBufferOption;
方法or属性:success?: (data: FileReadArrayBufferResponse) => void;
旧版本信息:|类名:FileReadArrayBufferOption;
方法or属性:success?: (data: FileReadArrayBufferResponse) => void;
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileAccessOption;
方法or属性:export interface FileAccessOption
旧版本信息:|类名:FileAccessOption;
方法or属性:export interface FileAccessOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileMkdirOption;
方法or属性:export interface FileMkdirOption
旧版本信息:|类名:FileMkdirOption;
方法or属性:export interface FileMkdirOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:FileRmdirOption;
方法or属性:export interface FileRmdirOption
旧版本信息:|类名:FileRmdirOption;
方法or属性:export interface FileRmdirOption
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:export default class File
旧版本信息:|类名:File;
方法or属性:export default class File
新版本信息:10
代替接口:|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static move(options: FileMoveOption): void;
旧版本信息:|类名:File;
方法or属性:static move(options: FileMoveOption): void;
新版本信息:10
代替接口: ohos.file.fs.moveFile|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static copy(options: FileCopyOption): void;
旧版本信息:|类名:File;
方法or属性:static copy(options: FileCopyOption): void;
新版本信息:10
代替接口: ohos.file.fs.copyFile|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static list(options: FileListOption): void;
旧版本信息:|类名:File;
方法or属性:static list(options: FileListOption): void;
新版本信息:10
代替接口: ohos.file.fs.listFile|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static get(options: FileGetOption): void;
旧版本信息:|类名:File;
方法or属性:static get(options: FileGetOption): void;
新版本信息:10
代替接口: ohos.file.fs.stat|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static delete(options: FileDeleteOption): void;
旧版本信息:|类名:File;
方法or属性:static delete(options: FileDeleteOption): void;
新版本信息:10
代替接口: ohos.file.fs.unlink|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static writeText(options: FileWriteTextOption): void;
旧版本信息:|类名:File;
方法or属性:static writeText(options: FileWriteTextOption): void;
新版本信息:10
代替接口: ohos.file.fs.write|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static readText(options: FileReadTextOption): void;
旧版本信息:|类名:File;
方法or属性:static readText(options: FileReadTextOption): void;
新版本信息:10
代替接口: ohos.file.fs.readText|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
旧版本信息:|类名:File;
方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;
新版本信息:10
代替接口: ohos.file.fs.write|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;
旧版本信息:|类名:File;
方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;
新版本信息:10
代替接口: ohos.file.fs.read|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static access(options: FileAccessOption): void;
旧版本信息:|类名:File;
方法or属性:static access(options: FileAccessOption): void;
新版本信息:10
代替接口: ohos.file.fs.access|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static mkdir(options: FileMkdirOption): void;
旧版本信息:|类名:File;
方法or属性:static mkdir(options: FileMkdirOption): void;
新版本信息:10
代替接口: ohos.file.fs.mkdir|@system.file.d.ts|
|废弃版本有变化|类名:File;
方法or属性:static rmdir(options: FileRmdirOption): void;
旧版本信息:|类名:File;
方法or属性:static rmdir(options: FileRmdirOption): void;
新版本信息:10
代替接口: ohos.file.fs.rmdir|@system.file.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function choose(callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function choose(callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function choose(types: string[], callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function choose(types: string[], callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.document.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getBundleStats(packageName: string): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getCurrentBundleStats(): Promise\;
新版本信息:401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getSystemSize(): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getSystemSize(): Promise\;
新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getUserStorageStats(callback: AsyncCallback\): void;
旧版本信息:|类名:storageStatistics;
方法or属性:function getUserStorageStats(callback: AsyncCallback\): void;
新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
旧版本信息:|类名:storageStatistics;
方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\): void;
新版本信息:201,202,401,13600001,13600009,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getTotalSize(): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getTotalSize(): Promise\;
新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:storageStatistics;
方法or属性:function getFreeSize(): Promise\;
旧版本信息:|类名:storageStatistics;
方法or属性:function getFreeSize(): Promise\;
新版本信息:201,202,401,13600001,13900032|@ohos.file.storageStatistics.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function getAllVolumes(): Promise\>;
旧版本信息:|类名:volumeManager;
方法or属性:function getAllVolumes(): Promise\>;
新版本信息:201,202,401,13600001,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function mount(volumeId: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function mount(volumeId: string): Promise\;
新版本信息:201,202,401,13600001,13600002,13600003,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function unmount(volumeId: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function unmount(volumeId: string): Promise\;
新版本信息:201,202,401,13600001,13600002,13600004,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function getVolumeByUuid(uuid: string): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function getVolumeById(volumeId: string): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\;
新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function format(volumeId: string, fsType: string): Promise\;
新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number): Promise\;
旧版本信息:|类名:volumeManager;
方法or属性:function partition(diskId: string, type: number): Promise\;
新版本信息:201,202,401,13600001,13600008,13900032|@ohos.file.volumeManager.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function access(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function access(path: string, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function close(fd: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function close(fd: number, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function copyFile(
src: string \| number,
dest: string \| number,
mode: number,
callback: AsyncCallback\
): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
旧版本信息:|类名:sourcefile;
方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\): void;
新版本信息:Parameter|@ohos.fileio.d.ts|
|新增(错误码)|类名:sourcefile;
方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\): void;