1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:RandomAccessFile;<br>方法or属性:readonly fd: number;|@ohos.file.fs.d.ts| 4|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 5|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| 6|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;|@ohos.file.fs.d.ts| 7|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;|@ohos.file.fs.d.ts| 8|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:maxSelectNumber?: number;|@ohos.file.picker.d.ts| 9|新增|NA|类名:BundleVersion;<br>方法or属性:code: number;|@ohos.application.BackupExtensionAbility.d.ts| 10|新增|NA|类名:BundleVersion;<br>方法or属性:name: string;|@ohos.application.BackupExtensionAbility.d.ts| 11|新增|NA|类名:BackupExtensionAbility;<br>方法or属性:onBackup(): void;|@ohos.application.BackupExtensionAbility.d.ts| 12|新增|NA|类名:BackupExtensionAbility;<br>方法or属性:onRestore(bundleVersion: BundleVersion): void;|@ohos.application.BackupExtensionAbility.d.ts| 13|新增|NA|类名:backup;<br>方法or属性:function getLocalCapabilities(): Promise\<FileData>;|@ohos.file.backup.d.ts| 14|新增|NA|类名:backup;<br>方法or属性:function getLocalCapabilities(callback: AsyncCallback\<FileData>): void;|@ohos.file.backup.d.ts| 15|新增|NA|类名:FileMeta;<br>方法or属性:bundleName: string;|@ohos.file.backup.d.ts| 16|新增|NA|类名:FileMeta;<br>方法or属性:uri: string;|@ohos.file.backup.d.ts| 17|新增|NA|类名:FileData;<br>方法or属性:fd: number;|@ohos.file.backup.d.ts| 18|新增|NA|类名:GeneralCallbacks;<br>方法or属性:onFileReady: AsyncCallback\<File>;|@ohos.file.backup.d.ts| 19|新增|NA|类名:GeneralCallbacks;<br>方法or属性:onBundleBegin: AsyncCallback\<string>;|@ohos.file.backup.d.ts| 20|新增|NA|类名:GeneralCallbacks;<br>方法or属性:onBundleEnd: AsyncCallback\<string>;|@ohos.file.backup.d.ts| 21|新增|NA|类名:GeneralCallbacks;<br>方法or属性:onAllBundlesEnd: AsyncCallback\<undefined>;|@ohos.file.backup.d.ts| 22|新增|NA|类名:GeneralCallbacks;<br>方法or属性:onBackupServiceDied: Callback\<undefined>;|@ohos.file.backup.d.ts| 23|新增|NA|类名:SessionBackup;<br>方法or属性:constructor(callbacks: GeneralCallbacks);|@ohos.file.backup.d.ts| 24|新增|NA|类名:SessionRestore;<br>方法or属性:constructor(callbacks: GeneralCallbacks);|@ohos.file.backup.d.ts| 25|新增|NA|类名:SessionBackup;<br>方法or属性:appendBundles(bundlesToBackup: string[]): Promise\<void>;|@ohos.file.backup.d.ts| 26|新增|NA|类名:SessionBackup;<br>方法or属性:appendBundles(bundlesToBackup: string[], callback: AsyncCallback\<void>): void;|@ohos.file.backup.d.ts| 27|新增|NA|类名:SessionRestore;<br>方法or属性:appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[]): Promise\<void>;|@ohos.file.backup.d.ts| 28|新增|NA|类名:SessionRestore;<br>方法or属性:appendBundles(remoteCapabilitiesFd: number, bundlesToBackup: string[], callback: AsyncCallback\<void>): void;|@ohos.file.backup.d.ts| 29|新增|NA|类名:SessionRestore;<br>方法or属性:publishFile(fileMeta: FileMeta): Promise\<void>;|@ohos.file.backup.d.ts| 30|新增|NA|类名:SessionRestore;<br>方法or属性:publishFile(fileMeta: FileMeta, callback: AsyncCallback\<void>): void;|@ohos.file.backup.d.ts| 31|新增|NA|类名:SessionRestore;<br>方法or属性:getFileHandle(fileMeta: FileMeta): Promise\<void>;|@ohos.file.backup.d.ts| 32|新增|NA|类名:SessionRestore;<br>方法or属性:getFileHandle(fileMeta: FileMeta, callback: AsyncCallback\<void>): void;|@ohos.file.backup.d.ts| 33|新增|NA|类名:SyncState;<br>方法or属性:UPLOADING|@ohos.file.cloudSync.d.ts| 34|新增|NA|类名:SyncState;<br>方法or属性:UPLOAD_FAILED|@ohos.file.cloudSync.d.ts| 35|新增|NA|类名:SyncState;<br>方法or属性:DOWNLOADING|@ohos.file.cloudSync.d.ts| 36|新增|NA|类名:SyncState;<br>方法or属性:DOWNLOAD_FAILED|@ohos.file.cloudSync.d.ts| 37|新增|NA|类名:SyncState;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts| 38|新增|NA|类名:State;<br>方法or属性:COMPLETED|@ohos.file.cloudSync.d.ts| 39|新增|NA|类名:SyncState;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts| 40|新增|NA|类名:State;<br>方法or属性:STOPPED|@ohos.file.cloudSync.d.ts| 41|新增|NA|类名:ErrorType;<br>方法or属性:NO_ERROR|@ohos.file.cloudSync.d.ts| 42|新增|NA|类名:ErrorType;<br>方法or属性:NETWORK_UNAVAILABLE|@ohos.file.cloudSync.d.ts| 43|新增|NA|类名:ErrorType;<br>方法or属性:WIFI_UNAVAILABLE|@ohos.file.cloudSync.d.ts| 44|新增|NA|类名:ErrorType;<br>方法or属性:BATTERY_LEVEL_LOW|@ohos.file.cloudSync.d.ts| 45|新增|NA|类名:ErrorType;<br>方法or属性:BATTERY_LEVEL_WARNING|@ohos.file.cloudSync.d.ts| 46|新增|NA|类名:ErrorType;<br>方法or属性:CLOUD_STORAGE_FULL|@ohos.file.cloudSync.d.ts| 47|新增|NA|类名:ErrorType;<br>方法or属性:LOCAL_STORAGE_FULL|@ohos.file.cloudSync.d.ts| 48|新增|NA|类名:SyncProgress;<br>方法or属性:state: SyncState;|@ohos.file.cloudSync.d.ts| 49|新增|NA|类名:SyncProgress;<br>方法or属性:error: ErrorType;|@ohos.file.cloudSync.d.ts| 50|新增|NA|类名:GallerySync;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts| 51|新增|NA|类名:Download;<br>方法or属性:constructor();|@ohos.file.cloudSync.d.ts| 52|新增|NA|类名:GallerySync;<br>方法or属性:on(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| 53|新增|NA|类名:GallerySync;<br>方法or属性:off(evt: 'progress', callback: (pg: SyncProgress) => void): void;|@ohos.file.cloudSync.d.ts| 54|新增|NA|类名:GallerySync;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| 55|新增|NA|类名:Download;<br>方法or属性:off(evt: 'progress'): void;|@ohos.file.cloudSync.d.ts| 56|新增|NA|类名:GallerySync;<br>方法or属性:start(): Promise\<void>;|@ohos.file.cloudSync.d.ts| 57|新增|NA|类名:GallerySync;<br>方法or属性:start(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 58|新增|NA|类名:GallerySync;<br>方法or属性:stop(): Promise\<void>;|@ohos.file.cloudSync.d.ts| 59|新增|NA|类名:GallerySync;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 60|新增|NA|类名:State;<br>方法or属性:RUNNING|@ohos.file.cloudSync.d.ts| 61|新增|NA|类名:State;<br>方法or属性:FAILED|@ohos.file.cloudSync.d.ts| 62|新增|NA|类名:DownloadProgress;<br>方法or属性:state: State;|@ohos.file.cloudSync.d.ts| 63|新增|NA|类名:DownloadProgress;<br>方法or属性:processed: number;|@ohos.file.cloudSync.d.ts| 64|新增|NA|类名:DownloadProgress;<br>方法or属性:size: number;|@ohos.file.cloudSync.d.ts| 65|新增|NA|类名:DownloadProgress;<br>方法or属性:uri: string;|@ohos.file.cloudSync.d.ts| 66|新增|NA|类名:Download;<br>方法or属性:on(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| 67|新增|NA|类名:Download;<br>方法or属性:off(evt: 'progress', callback: (pg: DownloadProgress) => void): void;|@ohos.file.cloudSync.d.ts| 68|新增|NA|类名:Download;<br>方法or属性:start(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| 69|新增|NA|类名:Download;<br>方法or属性:start(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 70|新增|NA|类名:Download;<br>方法or属性:stop(uri: string): Promise\<void>;|@ohos.file.cloudSync.d.ts| 71|新增|NA|类名:Download;<br>方法or属性:stop(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSync.d.ts| 72|新增|NA|类名:cloudSyncManager;<br>方法or属性:function changeAppCloudSwitch(accountId: string, bundleName: string, status: boolean): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 73|新增|NA|类名:cloudSyncManager;<br>方法or属性:function changeAppCloudSwitch(<br> accountId: string,<br> bundleName: string,<br> status: boolean,<br> callback: AsyncCallback\<void><br> ): void;|@ohos.file.cloudSyncManager.d.ts| 74|新增|NA|类名:cloudSyncManager;<br>方法or属性:function notifyDataChange(accountId: string, bundleName: string): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 75|新增|NA|类名:cloudSyncManager;<br>方法or属性:function notifyDataChange(accountId: string, bundleName: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| 76|新增|NA|类名:cloudSyncManager;<br>方法or属性:function enableCloud(accountId: string, switches: { [bundleName: string]: boolean }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 77|新增|NA|类名:cloudSyncManager;<br>方法or属性:function enableCloud(<br> accountId: string,<br> switches: { [bundleName: string]: boolean },<br> callback: AsyncCallback\<void><br> ): void;|@ohos.file.cloudSyncManager.d.ts| 78|新增|NA|类名:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 79|新增|NA|类名:cloudSyncManager;<br>方法or属性:function disableCloud(accountId: string, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| 80|新增|NA|类名:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }): Promise\<void>;|@ohos.file.cloudSyncManager.d.ts| 81|新增|NA|类名:cloudSyncManager;<br>方法or属性:function clean(accountId: string, appActions: { [bundleName: string]: Action }, callback: AsyncCallback\<void>): void;|@ohos.file.cloudSyncManager.d.ts| 82|新增|NA|类名:Action;<br>方法or属性:RETAIN_DATA|@ohos.file.cloudSyncManager.d.ts| 83|新增|NA|类名:Action;<br>方法or属性:CLEAR_DATA|@ohos.file.cloudSyncManager.d.ts| 84|新增|NA|类名:FileInfo;<br>方法or属性:relativePath: string;|@ohos.file.fileAccess.d.ts| 85|新增|NA|类名:RootInfo;<br>方法or属性:relativePath: string;|@ohos.file.fileAccess.d.ts| 86|新增|NA|类名:FileKey;<br>方法or属性:DISPLAY_NAME = 'display_name'|@ohos.file.fileAccess.d.ts| 87|新增|NA|类名:FileKey;<br>方法or属性:DATE_ADDED = 'date_added'|@ohos.file.fileAccess.d.ts| 88|新增|NA|类名:FileKey;<br>方法or属性:DATE_MODIFIED = 'date_modified'|@ohos.file.fileAccess.d.ts| 89|新增|NA|类名:FileKey;<br>方法or属性:RELATIVE_PATH = 'relative_path'|@ohos.file.fileAccess.d.ts| 90|新增|NA|类名:FileKey;<br>方法or属性:FILE_SIZE = 'size'|@ohos.file.fileAccess.d.ts| 91|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.file.fileAccess.d.ts| 92|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_DELETE|@ohos.file.fileAccess.d.ts| 93|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVED_TO|@ohos.file.fileAccess.d.ts| 94|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVED_FROM|@ohos.file.fileAccess.d.ts| 95|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_MOVE_SELF|@ohos.file.fileAccess.d.ts| 96|新增|NA|类名:NotifyMessage;<br>方法or属性:type: NotifyType;|@ohos.file.fileAccess.d.ts| 97|新增|NA|类名:NotifyMessage;<br>方法or属性:uris: Array\<string>;|@ohos.file.fileAccess.d.ts| 98|新增|NA|类名:FileAccessHelper;<br>方法or属性:copy(sourceUri: string, destUri: string, force?: boolean): Promise\<Array\<CopyResult>>;|@ohos.file.fileAccess.d.ts| 99|新增|NA|类名:FileAccessHelper;<br>方法or属性:copy(sourceUri: string, destUri: string, callback: AsyncCallback\<Array\<CopyResult>>): void;|@ohos.file.fileAccess.d.ts| 100|新增|NA|类名:FileAccessHelper;<br>方法or属性:copy(sourceUri: string, destUri: string, force: boolean, callback: AsyncCallback\<Array\<CopyResult>>): void;|@ohos.file.fileAccess.d.ts| 101|新增|NA|类名:FileAccessHelper;<br>方法or属性:query(uri: string, metaJson: string): Promise\<string>;|@ohos.file.fileAccess.d.ts| 102|新增|NA|类名:FileAccessHelper;<br>方法or属性:query(uri: string, metaJson: string, callback: AsyncCallback\<string>): void;|@ohos.file.fileAccess.d.ts| 103|新增|NA|类名:FileAccessHelper;<br>方法or属性:getFileInfoFromUri(uri: string): Promise\<FileInfo>;|@ohos.file.fileAccess.d.ts| 104|新增|NA|类名:FileAccessHelper;<br>方法or属性:getFileInfoFromUri(uri: string, callback: AsyncCallback\<FileInfo>): void;|@ohos.file.fileAccess.d.ts| 105|新增|NA|类名:FileAccessHelper;<br>方法or属性:getFileInfoFromRelativePath(relativePath: string): Promise\<FileInfo>;|@ohos.file.fileAccess.d.ts| 106|新增|NA|类名:FileAccessHelper;<br>方法or属性:getFileInfoFromRelativePath(relativePath: string, callback: AsyncCallback\<FileInfo>): void;|@ohos.file.fileAccess.d.ts| 107|新增|NA|类名:FileAccessHelper;<br>方法or属性:registerObserver(uri: string, notifyForDescendants: boolean, callback: Callback\<NotifyMessage>): void;|@ohos.file.fileAccess.d.ts| 108|新增|NA|类名:FileAccessHelper;<br>方法or属性:unregisterObserver(uri: string, callback?: Callback\<NotifyMessage>): void;|@ohos.file.fileAccess.d.ts| 109|新增|NA|类名:FileUri;<br>方法or属性:constructor(uriOrPath: string);|@ohos.file.fileuri.d.ts| 110|新增|NA|类名:FileUri;<br>方法or属性:readonly name: string;|@ohos.file.fileuri.d.ts| 111|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, mode?: number): Promise\<void>;|@ohos.file.fs.d.ts| 112|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 113|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 114|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 115|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 116|新增|NA|类名:sourcefile;<br>方法or属性:declare function copyDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 117|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode?: number): Promise\<RandomAccessFile>;|@ohos.file.fs.d.ts| 118|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| 119|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFile(file: string \| File, mode: number, callback: AsyncCallback\<RandomAccessFile>): void;|@ohos.file.fs.d.ts| 120|新增|NA|类名:sourcefile;<br>方法or属性:declare function createRandomAccessFileSync(file: string \| File, mode?: number): RandomAccessFile;|@ohos.file.fs.d.ts| 121|新增|NA|类名:sourcefile;<br>方法or属性:declare function createWatcher(path: string, events: number, listener: WatchEventListener): Watcher;|@ohos.file.fs.d.ts| 122|新增|NA|类名:sourcefile;<br>方法or属性:declare function dup(fd: number): File;|@ohos.file.fs.d.ts| 123|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode?: number): Promise\<void>;|@ohos.file.fs.d.ts| 124|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 125|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 126|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 127|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDir(src: string, dest: string, mode: number, callback: AsyncCallback\<void, Array\<ConflictFiles>>): void;|@ohos.file.fs.d.ts| 128|新增|NA|类名:sourcefile;<br>方法or属性:declare function moveDirSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 129|新增|NA|类名:sourcefile;<br>方法or属性:export type ConflictFiles = {<br> /**<br> * @type { string }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> srcFile: string;<br><br> /**<br> * @type { string }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> destFile: string;<br>};|@ohos.file.fs.d.ts| 130|新增|NA|类名:File;<br>方法or属性:readonly path: string;|@ohos.file.fs.d.ts| 131|新增|NA|类名:File;<br>方法or属性:readonly name: string;|@ohos.file.fs.d.ts| 132|新增|NA|类名:RandomAccessFile;<br>方法or属性:readonly filePointer: number;|@ohos.file.fs.d.ts| 133|新增|NA|类名:RandomAccessFile;<br>方法or属性:setFilePointer(filePointer: number): void;|@ohos.file.fs.d.ts| 134|新增|NA|类名:RandomAccessFile;<br>方法or属性:close(): void;|@ohos.file.fs.d.ts| 135|新增|NA|类名:RandomAccessFile;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| 136|新增|NA|类名:RandomAccessFile;<br>方法or属性:writeSync(<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br> ): number;|@ohos.file.fs.d.ts| 137|新增|NA|类名:RandomAccessFile;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): Promise\<number>;|@ohos.file.fs.d.ts| 138|新增|NA|类名:RandomAccessFile;<br>方法or属性:readSync(<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br> ): number;|@ohos.file.fs.d.ts| 139|新增|NA|类名:WatchEventListener;<br>方法or属性:(event: WatchEvent): void;|@ohos.file.fs.d.ts| 140|新增|NA|类名:WatchEvent;<br>方法or属性:readonly fileName: string;|@ohos.file.fs.d.ts| 141|新增|NA|类名:WatchEvent;<br>方法or属性:readonly event: number;|@ohos.file.fs.d.ts| 142|新增|NA|类名:WatchEvent;<br>方法or属性:readonly cookie: number;|@ohos.file.fs.d.ts| 143|新增|NA|类名:Watcher;<br>方法or属性:start(): void;|@ohos.file.fs.d.ts| 144|新增|NA|类名:Watcher;<br>方法or属性:stop(): void;|@ohos.file.fs.d.ts| 145|新增|NA|类名:photoAccessHelper;<br>方法or属性:function getPhotoAccessHelper(context: Context): PhotoAccessHelper;|@ohos.file.photoAccessHelper.d.ts| 146|新增|NA|类名:photoAccessHelper;<br>方法or属性:type MemberType = number \| string \| boolean;|@ohos.file.photoAccessHelper.d.ts| 147|新增|NA|类名:PhotoType;<br>方法or属性:IMAGE = 1|@ohos.file.photoAccessHelper.d.ts| 148|新增|NA|类名:PhotoType;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts| 149|新增|NA|类名:AlbumSubtype;<br>方法or属性:VIDEO|@ohos.file.photoAccessHelper.d.ts| 150|新增|NA|类名:PhotoSubtype;<br>方法or属性:DEFAULT|@ohos.file.photoAccessHelper.d.ts| 151|新增|NA|类名:PhotoSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| 152|新增|NA|类名:AlbumSubtype;<br>方法or属性:SCREENSHOT|@ohos.file.photoAccessHelper.d.ts| 153|新增|NA|类名:PositionType;<br>方法or属性:LOCAL = 1 \<\< 0|@ohos.file.photoAccessHelper.d.ts| 154|新增|NA|类名:PositionType;<br>方法or属性:CLOUD = 1 \<\< 1|@ohos.file.photoAccessHelper.d.ts| 155|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly uri: string;|@ohos.file.photoAccessHelper.d.ts| 156|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly photoType: PhotoType;|@ohos.file.photoAccessHelper.d.ts| 157|新增|NA|类名:PhotoAsset;<br>方法or属性:readonly displayName: string;|@ohos.file.photoAccessHelper.d.ts| 158|新增|NA|类名:PhotoAsset;<br>方法or属性:get(member: string): MemberType;|@ohos.file.photoAccessHelper.d.ts| 159|新增|NA|类名:PhotoAsset;<br>方法or属性:set(member: string, value: string): void;|@ohos.file.photoAccessHelper.d.ts| 160|新增|NA|类名:PhotoAsset;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 161|新增|NA|类名:Album;<br>方法or属性:commitModify(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 162|新增|NA|类名:PhotoAsset;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 163|新增|NA|类名:Album;<br>方法or属性:commitModify(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 164|新增|NA|类名:PhotoAsset;<br>方法or属性:open(mode: string, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 165|新增|NA|类名:PhotoAsset;<br>方法or属性:open(mode: string): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 166|新增|NA|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 167|新增|NA|类名:PhotoAsset;<br>方法or属性:getReadOnlyFd(): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 168|新增|NA|类名:PhotoAsset;<br>方法or属性:close(fd: number, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 169|新增|NA|类名:PhotoAsset;<br>方法or属性:close(fd: number): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 170|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| 171|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(size: image.Size, callback: AsyncCallback\<image.PixelMap>): void;|@ohos.file.photoAccessHelper.d.ts| 172|新增|NA|类名:PhotoAsset;<br>方法or属性:getThumbnail(size?: image.Size): Promise\<image.PixelMap>;|@ohos.file.photoAccessHelper.d.ts| 173|新增|NA|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 174|新增|NA|类名:PhotoAsset;<br>方法or属性:setFavorite(favoriteState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 175|新增|NA|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 176|新增|NA|类名:PhotoAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 177|新增|NA|类名:PhotoAsset;<br>方法or属性:setUserComment(userComment: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 178|新增|NA|类名:PhotoAsset;<br>方法or属性:setUserComment(userComment: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 179|新增|NA|类名:PhotoAsset;<br>方法or属性:getExif(callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 180|新增|NA|类名:PhotoAsset;<br>方法or属性:getExif(): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts| 181|新增|NA|类名:PhotoKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| 182|新增|NA|类名:AlbumKeys;<br>方法or属性:URI = 'uri'|@ohos.file.photoAccessHelper.d.ts| 183|新增|NA|类名:PhotoKeys;<br>方法or属性:PHOTO_TYPE = 'media_type'|@ohos.file.photoAccessHelper.d.ts| 184|新增|NA|类名:PhotoKeys;<br>方法or属性:DISPLAY_NAME = 'display_name'|@ohos.file.photoAccessHelper.d.ts| 185|新增|NA|类名:PhotoKeys;<br>方法or属性:SIZE = 'size'|@ohos.file.photoAccessHelper.d.ts| 186|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_ADDED = 'date_added'|@ohos.file.photoAccessHelper.d.ts| 187|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_MODIFIED = 'date_modified'|@ohos.file.photoAccessHelper.d.ts| 188|新增|NA|类名:PhotoKeys;<br>方法or属性:DURATION = 'duration'|@ohos.file.photoAccessHelper.d.ts| 189|新增|NA|类名:PhotoKeys;<br>方法or属性:WIDTH = 'width'|@ohos.file.photoAccessHelper.d.ts| 190|新增|NA|类名:PhotoKeys;<br>方法or属性:HEIGHT = 'height'|@ohos.file.photoAccessHelper.d.ts| 191|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_TAKEN = 'date_taken'|@ohos.file.photoAccessHelper.d.ts| 192|新增|NA|类名:PhotoKeys;<br>方法or属性:ORIENTATION = 'orientation'|@ohos.file.photoAccessHelper.d.ts| 193|新增|NA|类名:PhotoKeys;<br>方法or属性:FAVORITE = 'is_favorite'|@ohos.file.photoAccessHelper.d.ts| 194|新增|NA|类名:PhotoKeys;<br>方法or属性:TITLE = 'title'|@ohos.file.photoAccessHelper.d.ts| 195|新增|NA|类名:PhotoKeys;<br>方法or属性:POSITION = 'position'|@ohos.file.photoAccessHelper.d.ts| 196|新增|NA|类名:PhotoKeys;<br>方法or属性:DATE_TRASHED = 'date_trashed'|@ohos.file.photoAccessHelper.d.ts| 197|新增|NA|类名:PhotoKeys;<br>方法or属性:HIDDEN = 'hidden'|@ohos.file.photoAccessHelper.d.ts| 198|新增|NA|类名:PhotoKeys;<br>方法or属性:USER_COMMENT = 'user_comment'|@ohos.file.photoAccessHelper.d.ts| 199|新增|NA|类名:PhotoKeys;<br>方法or属性:CAMERA_SHOT_KEY = 'camera_shot_key'|@ohos.file.photoAccessHelper.d.ts| 200|新增|NA|类名:AlbumKeys;<br>方法or属性:ALBUM_NAME = 'album_name'|@ohos.file.photoAccessHelper.d.ts| 201|新增|NA|类名:FetchOptions;<br>方法or属性:fetchColumns: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 202|新增|NA|类名:FetchOptions;<br>方法or属性:predicates: dataSharePredicates.DataSharePredicates;|@ohos.file.photoAccessHelper.d.ts| 203|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:subtype?: PhotoSubtype;|@ohos.file.photoAccessHelper.d.ts| 204|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:cameraShotKey?: string;|@ohos.file.photoAccessHelper.d.ts| 205|新增|NA|类名:CreateOptions;<br>方法or属性:title?: string;|@ohos.file.photoAccessHelper.d.ts| 206|新增|NA|类名:FetchResult;<br>方法or属性:getCount(): number;|@ohos.file.photoAccessHelper.d.ts| 207|新增|NA|类名:FetchResult;<br>方法or属性:isAfterLast(): boolean;|@ohos.file.photoAccessHelper.d.ts| 208|新增|NA|类名:FetchResult;<br>方法or属性:getFirstObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 209|新增|NA|类名:FetchResult;<br>方法or属性:getFirstObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 210|新增|NA|类名:FetchResult;<br>方法or属性:getNextObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 211|新增|NA|类名:FetchResult;<br>方法or属性:getNextObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 212|新增|NA|类名:FetchResult;<br>方法or属性:getLastObject(callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 213|新增|NA|类名:FetchResult;<br>方法or属性:getLastObject(): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 214|新增|NA|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number, callback: AsyncCallback\<T>): void;|@ohos.file.photoAccessHelper.d.ts| 215|新增|NA|类名:FetchResult;<br>方法or属性:getObjectByPosition(index: number): Promise\<T>;|@ohos.file.photoAccessHelper.d.ts| 216|新增|NA|类名:FetchResult;<br>方法or属性:getAllObjects(callback: AsyncCallback\<Array\<T>>): void;|@ohos.file.photoAccessHelper.d.ts| 217|新增|NA|类名:FetchResult;<br>方法or属性:getAllObjects(): Promise\<Array\<T>>;|@ohos.file.photoAccessHelper.d.ts| 218|新增|NA|类名:FetchResult;<br>方法or属性:close(): void;|@ohos.file.photoAccessHelper.d.ts| 219|新增|NA|类名:AlbumType;<br>方法or属性:USER = 0|@ohos.file.photoAccessHelper.d.ts| 220|新增|NA|类名:AlbumType;<br>方法or属性:SYSTEM = 1024|@ohos.file.photoAccessHelper.d.ts| 221|新增|NA|类名:AlbumSubtype;<br>方法or属性:USER_GENERIC = 1|@ohos.file.photoAccessHelper.d.ts| 222|新增|NA|类名:AlbumSubtype;<br>方法or属性:FAVORITE = 1025|@ohos.file.photoAccessHelper.d.ts| 223|新增|NA|类名:AlbumSubtype;<br>方法or属性:HIDDEN|@ohos.file.photoAccessHelper.d.ts| 224|新增|NA|类名:AlbumSubtype;<br>方法or属性:TRASH|@ohos.file.photoAccessHelper.d.ts| 225|新增|NA|类名:AlbumSubtype;<br>方法or属性:CAMERA|@ohos.file.photoAccessHelper.d.ts| 226|新增|NA|类名:AlbumSubtype;<br>方法or属性:ANY = 2147483647|@ohos.file.photoAccessHelper.d.ts| 227|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumType: AlbumType;|@ohos.file.photoAccessHelper.d.ts| 228|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumSubtype: AlbumSubtype;|@ohos.file.photoAccessHelper.d.ts| 229|新增|NA|类名:AbsAlbum;<br>方法or属性:albumName: string;|@ohos.file.photoAccessHelper.d.ts| 230|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumUri: string;|@ohos.file.photoAccessHelper.d.ts| 231|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly count: number;|@ohos.file.photoAccessHelper.d.ts| 232|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly coverUri: string;|@ohos.file.photoAccessHelper.d.ts| 233|新增|NA|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| 234|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions, callback: AsyncCallback\<FetchResult\<PhotoAsset>>): void;|@ohos.file.photoAccessHelper.d.ts| 235|新增|NA|类名:AbsAlbum;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| 236|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAssets(options: FetchOptions): Promise\<FetchResult\<PhotoAsset>>;|@ohos.file.photoAccessHelper.d.ts| 237|新增|NA|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 238|新增|NA|类名:Album;<br>方法or属性:addAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 239|新增|NA|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 240|新增|NA|类名:Album;<br>方法or属性:removeAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 241|新增|NA|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 242|新增|NA|类名:Album;<br>方法or属性:recoverAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 243|新增|NA|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 244|新增|NA|类名:Album;<br>方法or属性:deleteAssets(assets: Array\<PhotoAsset>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 245|新增|NA|类名:Album;<br>方法or属性:setCoverUri(uri: string, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 246|新增|NA|类名:Album;<br>方法or属性:setCoverUri(uri: string): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 247|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| 248|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| 249|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions): Promise\<PhotoAsset>;|@ohos.file.photoAccessHelper.d.ts| 250|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(displayName: string, options: PhotoCreateOptions, callback: AsyncCallback\<PhotoAsset>): void;|@ohos.file.photoAccessHelper.d.ts| 251|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 252|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback\<string>): void;|@ohos.file.photoAccessHelper.d.ts| 253|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise\<string>;|@ohos.file.photoAccessHelper.d.ts| 254|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;|@ohos.file.photoAccessHelper.d.ts| 255|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createAlbum(name: string): Promise\<Album>;|@ohos.file.photoAccessHelper.d.ts| 256|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 257|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 258|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subtype: AlbumSubtype,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;|@ohos.file.photoAccessHelper.d.ts| 259|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.file.photoAccessHelper.d.ts| 260|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise\<FetchResult\<Album>>;|@ohos.file.photoAccessHelper.d.ts| 261|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 262|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:deleteAssets(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 263|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:registerChange(uri: string, forChildUris: boolean, callback: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| 264|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:unRegisterChange(uri: string, callback?: Callback\<ChangeData>): void;|@ohos.file.photoAccessHelper.d.ts| 265|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createDeleteRequest(uriList: Array\<string>, callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 266|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:createDeleteRequest(uriList: Array\<string>): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 267|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\<number>): void;|@ohos.file.photoAccessHelper.d.ts| 268|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\<number>;|@ohos.file.photoAccessHelper.d.ts| 269|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:release(callback: AsyncCallback\<void>): void;|@ohos.file.photoAccessHelper.d.ts| 270|新增|NA|类名:PhotoAccessHelper;<br>方法or属性:release(): Promise\<void>;|@ohos.file.photoAccessHelper.d.ts| 271|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.file.photoAccessHelper.d.ts| 272|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_UPDATE|@ohos.file.photoAccessHelper.d.ts| 273|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_REMOVE|@ohos.file.photoAccessHelper.d.ts| 274|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_ADD_ASSET|@ohos.file.photoAccessHelper.d.ts| 275|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_REMOVE_ASSET|@ohos.file.photoAccessHelper.d.ts| 276|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_PHOTO_URI = 'file://media/Photo'|@ohos.file.photoAccessHelper.d.ts| 277|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum'|@ohos.file.photoAccessHelper.d.ts| 278|新增|NA|类名:ChangeData;<br>方法or属性:type: NotifyType;|@ohos.file.photoAccessHelper.d.ts| 279|新增|NA|类名:ChangeData;<br>方法or属性:uris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 280|新增|NA|类名:ChangeData;<br>方法or属性:extraUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 281|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:IMAGE_TYPE = 'image/*'|@ohos.file.photoAccessHelper.d.ts| 282|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:VIDEO_TYPE = 'video/*'|@ohos.file.photoAccessHelper.d.ts| 283|新增|NA|类名:PhotoViewMIMETypes;<br>方法or属性:IMAGE_VIDEO_TYPE = '*/*'|@ohos.file.photoAccessHelper.d.ts| 284|新增|NA|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;|@ohos.file.photoAccessHelper.d.ts| 285|新增|NA|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;|@ohos.file.photoAccessHelper.d.ts| 286|新增|NA|类名:PhotoSelectResult;<br>方法or属性:photoUris: Array\<string>;|@ohos.file.photoAccessHelper.d.ts| 287|新增|NA|类名:PhotoSelectResult;<br>方法or属性:isOriginalPhoto: boolean;|@ohos.file.photoAccessHelper.d.ts| 288|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(option?: PhotoSelectOptions): Promise\<PhotoSelectResult>;|@ohos.file.photoAccessHelper.d.ts| 289|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(option: PhotoSelectOptions, callback: AsyncCallback\<PhotoSelectResult>): void;|@ohos.file.photoAccessHelper.d.ts| 290|新增|NA|类名:PhotoViewPicker;<br>方法or属性:select(callback: AsyncCallback\<PhotoSelectResult>): void;|@ohos.file.photoAccessHelper.d.ts| 291|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| 292|新增|NA|类名:DocumentSaveOptions;<br>方法or属性:defaultFilePathUri?: string;|@ohos.file.picker.d.ts| 293|新增|NA|类名:DocumentSelectOptions;<br>方法or属性:fileSuffixFilters?: Array\<string>;|@ohos.file.picker.d.ts| 294|新增|NA|类名:DocumentSaveOptions;<br>方法or属性:fileSuffixChoices?: Array\<string>;|@ohos.file.picker.d.ts| 295|新增|NA|类名:recent;<br>方法or属性:function listFile(): Array\<FileInfo>;|@ohos.file.recent.d.ts| 296|新增|NA|类名:recent;<br>方法or属性:function add(uri: string): void;|@ohos.file.recent.d.ts| 297|新增|NA|类名:recent;<br>方法or属性:function remove(uri: string): void;|@ohos.file.recent.d.ts| 298|新增|NA|类名:FileInfo;<br>方法or属性:readonly uri: string;|@ohos.file.recent.d.ts| 299|新增|NA|类名:FileInfo;<br>方法or属性:readonly srcPath: string;|@ohos.file.recent.d.ts| 300|新增|NA|类名:FileInfo;<br>方法or属性:readonly fileName: string;|@ohos.file.recent.d.ts| 301|新增|NA|类名:FileInfo;<br>方法or属性:readonly mode: number;|@ohos.file.recent.d.ts| 302|新增|NA|类名:FileInfo;<br>方法or属性:readonly size: number;|@ohos.file.recent.d.ts| 303|新增|NA|类名:FileInfo;<br>方法or属性:readonly mtime: number;|@ohos.file.recent.d.ts| 304|新增|NA|类名:FileInfo;<br>方法or属性:readonly ctime: number;|@ohos.file.recent.d.ts| 305|新增|NA|类名:statfs;<br>方法or属性:function getFreeSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| 306|新增|NA|类名:statfs;<br>方法or属性:function getTotalSizeSync(path: string): number;|@ohos.file.statvfs.d.ts| 307|新增|NA|类名:storageStatistics;<br>方法or属性:function getTotalSizeSync(): number;|@ohos.file.storageStatistics.d.ts| 308|新增|NA|类名:storageStatistics;<br>方法or属性:function getFreeSizeSync(): number;|@ohos.file.storageStatistics.d.ts| 309|新增|NA|类名:trash;<br>方法or属性:function listFile(): Array\<FileInfo>;|@ohos.file.trash.d.ts| 310|新增|NA|类名:trash;<br>方法or属性:function recover(uri: string): void;|@ohos.file.trash.d.ts| 311|新增|NA|类名:trash;<br>方法or属性:function completelyDelete(uri: string): void;|@ohos.file.trash.d.ts| 312|新增|NA|类名:FileInfo;<br>方法or属性:readonly uri: string;|@ohos.file.trash.d.ts| 313|新增|NA|类名:FileInfo;<br>方法or属性:readonly srcPath: string;|@ohos.file.trash.d.ts| 314|新增|NA|类名:FileInfo;<br>方法or属性:readonly fileName: string;|@ohos.file.trash.d.ts| 315|新增|NA|类名:FileInfo;<br>方法or属性:readonly mode: number;|@ohos.file.trash.d.ts| 316|新增|NA|类名:FileInfo;<br>方法or属性:readonly size: number;|@ohos.file.trash.d.ts| 317|新增|NA|类名:FileInfo;<br>方法or属性:readonly mtime: number;|@ohos.file.trash.d.ts| 318|新增|NA|类名:FileInfo;<br>方法or属性:readonly ctime: number;|@ohos.file.trash.d.ts| 319|新增|NA|类名:PhotoSubType;<br>方法or属性:DEFAULT|@ohos.filemanagement.userFileManager.d.ts| 320|新增|NA|类名:PhotoSubType;<br>方法or属性:SCREENSHOT|@ohos.filemanagement.userFileManager.d.ts| 321|新增|NA|类名:AlbumSubType;<br>方法or属性:SCREENSHOT|@ohos.filemanagement.userFileManager.d.ts| 322|新增|NA|类名:PhotoSubType;<br>方法or属性:CAMERA|@ohos.filemanagement.userFileManager.d.ts| 323|新增|NA|类名:AlbumSubType;<br>方法or属性:CAMERA|@ohos.filemanagement.userFileManager.d.ts| 324|新增|NA|类名:PositionType;<br>方法or属性:LOCAL = 1|@ohos.filemanagement.userFileManager.d.ts| 325|新增|NA|类名:PositionType;<br>方法or属性:CLOUD|@ohos.filemanagement.userFileManager.d.ts| 326|新增|NA|类名:PositionType;<br>方法or属性:BOTH|@ohos.filemanagement.userFileManager.d.ts| 327|新增|NA|类名:FileAsset;<br>方法or属性:setHidden(hiddenState: boolean, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 328|新增|NA|类名:FileAsset;<br>方法or属性:setHidden(hiddenState: boolean): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 329|新增|NA|类名:FileAsset;<br>方法or属性:setUserComment(userComment: string, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 330|新增|NA|类名:FileAsset;<br>方法or属性:setUserComment(userComment: string): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 331|新增|NA|类名:FileAsset;<br>方法or属性:getExif(callback: AsyncCallback\<string>): void;|@ohos.filemanagement.userFileManager.d.ts| 332|新增|NA|类名:FileAsset;<br>方法or属性:getExif(): Promise\<string>;|@ohos.filemanagement.userFileManager.d.ts| 333|新增|NA|类名:ImageVideoKey;<br>方法or属性:POSITION|@ohos.filemanagement.userFileManager.d.ts| 334|新增|NA|类名:ImageVideoKey;<br>方法or属性:DATE_TRASHED|@ohos.filemanagement.userFileManager.d.ts| 335|新增|NA|类名:ImageVideoKey;<br>方法or属性:HIDDEN|@ohos.filemanagement.userFileManager.d.ts| 336|新增|NA|类名:AlbumSubType;<br>方法or属性:HIDDEN|@ohos.filemanagement.userFileManager.d.ts| 337|新增|NA|类名:ImageVideoKey;<br>方法or属性:USER_COMMENT|@ohos.filemanagement.userFileManager.d.ts| 338|新增|NA|类名:ImageVideoKey;<br>方法or属性:CAMERA_SHOT_KEY|@ohos.filemanagement.userFileManager.d.ts| 339|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:subType?: PhotoSubType;|@ohos.filemanagement.userFileManager.d.ts| 340|新增|NA|类名:PhotoCreateOptions;<br>方法or属性:cameraShotKey?: string;|@ohos.filemanagement.userFileManager.d.ts| 341|新增|NA|类名:FetchResult;<br>方法or属性:getAllObject(callback: AsyncCallback\<Array\<T>>): void;|@ohos.filemanagement.userFileManager.d.ts| 342|新增|NA|类名:FetchResult;<br>方法or属性:getAllObject(): Promise\<Array\<T>>;|@ohos.filemanagement.userFileManager.d.ts| 343|新增|NA|类名:AlbumType;<br>方法or属性:USER = 0|@ohos.filemanagement.userFileManager.d.ts| 344|新增|NA|类名:AlbumType;<br>方法or属性:SYSTEM = 1024|@ohos.filemanagement.userFileManager.d.ts| 345|新增|NA|类名:AlbumSubType;<br>方法or属性:USER_GENERIC = 1|@ohos.filemanagement.userFileManager.d.ts| 346|新增|NA|类名:AlbumSubType;<br>方法or属性:FAVORITE = 1025|@ohos.filemanagement.userFileManager.d.ts| 347|新增|NA|类名:AlbumSubType;<br>方法or属性:VIDEO|@ohos.filemanagement.userFileManager.d.ts| 348|新增|NA|类名:AlbumSubType;<br>方法or属性:TRASH|@ohos.filemanagement.userFileManager.d.ts| 349|新增|NA|类名:AlbumSubType;<br>方法or属性:ANY = 2147483647|@ohos.filemanagement.userFileManager.d.ts| 350|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumType: AlbumType;|@ohos.filemanagement.userFileManager.d.ts| 351|新增|NA|类名:AbsAlbum;<br>方法or属性:readonly albumSubType: AlbumSubType;|@ohos.filemanagement.userFileManager.d.ts| 352|新增|NA|类名:Album;<br>方法or属性:addPhotoAssets(assets: Array\<FileAsset>, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 353|新增|NA|类名:Album;<br>方法or属性:addPhotoAssets(assets: Array\<FileAsset>): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 354|新增|NA|类名:Album;<br>方法or属性:removePhotoAssets(assets: Array\<FileAsset>, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 355|新增|NA|类名:Album;<br>方法or属性:removePhotoAssets(assets: Array\<FileAsset>): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 356|新增|NA|类名:Album;<br>方法or属性:recoverPhotoAssets(assets: Array\<FileAsset>, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 357|新增|NA|类名:Album;<br>方法or属性:recoverPhotoAssets(assets: Array\<FileAsset>): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 358|新增|NA|类名:Album;<br>方法or属性:deletePhotoAssets(assets: Array\<FileAsset>, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 359|新增|NA|类名:Album;<br>方法or属性:deletePhotoAssets(assets: Array\<FileAsset>): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 360|新增|NA|类名:UserFileManager;<br>方法or属性:createPhotoAsset(displayName: string, createOption: PhotoCreateOptions): Promise\<FileAsset>;|@ohos.filemanagement.userFileManager.d.ts| 361|新增|NA|类名:UserFileManager;<br>方法or属性:createPhotoAsset(displayName: string, createOption: PhotoCreateOptions, callback: AsyncCallback\<FileAsset>): void;|@ohos.filemanagement.userFileManager.d.ts| 362|新增|NA|类名:UserFileManager;<br>方法or属性:createAudioAsset(displayName: string, callback: AsyncCallback\<FileAsset>): void;|@ohos.filemanagement.userFileManager.d.ts| 363|新增|NA|类名:UserFileManager;<br>方法or属性:createAudioAsset(displayName: string): Promise\<FileAsset>;|@ohos.filemanagement.userFileManager.d.ts| 364|新增|NA|类名:UserFileManager;<br>方法or属性:createAlbum(name: string, callback: AsyncCallback\<Album>): void;|@ohos.filemanagement.userFileManager.d.ts| 365|新增|NA|类名:UserFileManager;<br>方法or属性:createAlbum(name: string): Promise\<Album>;|@ohos.filemanagement.userFileManager.d.ts| 366|新增|NA|类名:UserFileManager;<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;|@ohos.filemanagement.userFileManager.d.ts| 367|新增|NA|类名:UserFileManager;<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.filemanagement.userFileManager.d.ts| 368|新增|NA|类名:UserFileManager;<br>方法or属性:getAlbums(<br> type: AlbumType,<br> subType: AlbumSubType,<br> options: FetchOptions,<br> callback: AsyncCallback\<FetchResult\<Album>><br> ): void;|@ohos.filemanagement.userFileManager.d.ts| 369|新增|NA|类名:UserFileManager;<br>方法or属性:getAlbums(type: AlbumType, subType: AlbumSubType, callback: AsyncCallback\<FetchResult\<Album>>): void;|@ohos.filemanagement.userFileManager.d.ts| 370|新增|NA|类名:UserFileManager;<br>方法or属性:getAlbums(type: AlbumType, subType: AlbumSubType, options?: FetchOptions): Promise\<FetchResult\<Album>>;|@ohos.filemanagement.userFileManager.d.ts| 371|新增|NA|类名:UserFileManager;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions, callback: AsyncCallback\<number>): void;|@ohos.filemanagement.userFileManager.d.ts| 372|新增|NA|类名:UserFileManager;<br>方法or属性:getPhotoIndex(photoUri: string, albumUri: string, options: FetchOptions): Promise\<number>;|@ohos.filemanagement.userFileManager.d.ts| 373|新增|NA|类名:UserFileManager;<br>方法or属性:on(uri: string, forSubUri: boolean, callback: Callback\<ChangeData>): void;|@ohos.filemanagement.userFileManager.d.ts| 374|新增|NA|类名:UserFileManager;<br>方法or属性:off(uri: string, callback?: Callback\<ChangeData>): void;|@ohos.filemanagement.userFileManager.d.ts| 375|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ADD|@ohos.filemanagement.userFileManager.d.ts| 376|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_UPDATE|@ohos.filemanagement.userFileManager.d.ts| 377|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_REMOVE|@ohos.filemanagement.userFileManager.d.ts| 378|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_ADD_ASSET|@ohos.filemanagement.userFileManager.d.ts| 379|新增|NA|类名:NotifyType;<br>方法or属性:NOTIFY_ALBUM_REMOVE_ASSET|@ohos.filemanagement.userFileManager.d.ts| 380|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_PHOTO_URI|@ohos.filemanagement.userFileManager.d.ts| 381|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_ALBUM_URI|@ohos.filemanagement.userFileManager.d.ts| 382|新增|NA|类名:DefaultChangeUri;<br>方法or属性:DEFAULT_AUDIO_URI|@ohos.filemanagement.userFileManager.d.ts| 383|新增|NA|类名:ChangeData;<br>方法or属性:type: NotifyType;|@ohos.filemanagement.userFileManager.d.ts| 384|新增|NA|类名:ChangeData;<br>方法or属性:uris: Array\<string>;|@ohos.filemanagement.userFileManager.d.ts| 385|新增|NA|类名:ChangeData;<br>方法or属性:subUris: Array\<string>;|@ohos.filemanagement.userFileManager.d.ts| 386|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts| 387|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts| 388|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts| 389|废弃版本有变化|类名:document;<br>方法or属性:declare document<br>旧版本信息:|类名:document;<br>方法or属性:declare document<br>新版本信息:9<br>代替接口:|@ohos.document.d.ts| 390|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.access|@ohos.fileio.d.ts| 391|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.access|@ohos.fileio.d.ts| 392|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.close|@ohos.fileio.d.ts| 393|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 394|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.copyFile|@ohos.fileio.d.ts| 395|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.createStream|@ohos.fileio.d.ts| 396|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts| 397|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts| 398|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts| 399|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts| 400|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fsync|@ohos.fileio.d.ts| 401|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts| 402|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fdatasync|@ohos.fileio.d.ts| 403|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts| 404|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts| 405|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.fdopenStream|@ohos.fileio.d.ts| 406|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口: ohos.file.hash.hash|@ohos.fileio.d.ts| 407|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口:|@ohos.fileio.d.ts| 408|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.lstat|@ohos.fileio.d.ts| 409|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 410|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdir|@ohos.fileio.d.ts| 411|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.mkdtemp|@ohos.fileio.d.ts| 412|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts| 413|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts| 414|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.open|@ohos.fileio.d.ts| 415|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts| 416|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.readText|@ohos.fileio.d.ts| 417|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.read|@ohos.fileio.d.ts| 418|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.read|@ohos.fileio.d.ts| 419|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.rename|@ohos.fileio.d.ts| 420|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.rmdir|@ohos.fileio.d.ts| 421|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.stat|@ohos.fileio.d.ts| 422|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.symlink|@ohos.fileio.d.ts| 423|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts| 424|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.truncate|@ohos.fileio.d.ts| 425|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.unlink|@ohos.fileio.d.ts| 426|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.write|@ohos.fileio.d.ts| 427|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.write|@ohos.fileio.d.ts| 428|废弃版本有变化|类名:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createWatcher(filename: string, events: number, callback: AsyncCallback\<number>): Watcher;<br>新版本信息:10<br>代替接口: ohos.file.fs.createWatcher|@ohos.fileio.d.ts| 429|废弃版本有变化|类名:Dir;<br>方法or属性:declare interface Dir<br>旧版本信息:|类名:Dir;<br>方法or属性:declare interface Dir<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts| 430|废弃版本有变化|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts| 431|废弃版本有变化|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: ohos.file.fs.listFile|@ohos.fileio.d.ts| 432|废弃版本有变化|类名:Watcher;<br>方法or属性:declare interface Watcher<br>旧版本信息:|类名:Watcher;<br>方法or属性:declare interface Watcher<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher|@ohos.fileio.d.ts| 433|废弃版本有变化|类名:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(): Promise\<void>;<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| 434|废弃版本有变化|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.Watcher.stop|@ohos.fileio.d.ts| 435|废弃版本有变化|类名:Statfs;<br>方法or属性:declare Statfs<br>旧版本信息:|类名:Statfs;<br>方法or属性:declare Statfs<br>新版本信息:9<br>代替接口: ohos.file.statvfs.statfs|@ohos.statfs.d.ts| 436|废弃版本有变化|类名:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>旧版本信息:|类名:Statfs;<br>方法or属性:function getFreeBytes(path: string): Promise\<number>;<br>新版本信息:9<br>代替接口: ohos.file.statvfs.getFreeSize|@ohos.statfs.d.ts| 437|废弃版本有变化|类名:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>旧版本信息:|类名:Statfs;<br>方法or属性:function getTotalBytes(path: string): Promise\<number>;<br>新版本信息:9<br>代替接口: ohos.file.statvfs.getTotalSize|@ohos.statfs.d.ts| 438|废弃版本有变化|类名:FileResponse;<br>方法or属性:export interface FileResponse<br>旧版本信息:|类名:FileResponse;<br>方法or属性:export interface FileResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 439|废弃版本有变化|类名:FileResponse;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 440|废弃版本有变化|类名:FileListOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 441|废弃版本有变化|类名:FileGetOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 442|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 443|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 444|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 445|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 446|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 447|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 448|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 449|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:uri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 450|废弃版本有变化|类名:FileResponse;<br>方法or属性:length: number;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:length: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 451|废弃版本有变化|类名:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:lastModifiedTime: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 452|废弃版本有变化|类名:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>旧版本信息:|类名:FileResponse;<br>方法or属性:type: 'dir' \| 'file';<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 453|废弃版本有变化|类名:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>旧版本信息:|类名:FileResponse;<br>方法or属性:subFiles?: Array\<FileResponse>;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 454|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:export interface FileMoveOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 455|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:srcUri: string;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:srcUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 456|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:srcUri: string;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:srcUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 457|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:dstUri: string;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:dstUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 458|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:dstUri: string;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:dstUri: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 459|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 460|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:success?: (uri: string) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 461|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 462|废弃版本有变化|类名:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 463|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 464|废弃版本有变化|类名:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 465|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 466|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 467|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 468|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 469|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 470|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 471|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 472|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:fail?: (data: string, code: number) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 473|废弃版本有变化|类名:FileMoveOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileMoveOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 474|废弃版本有变化|类名:FileListOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 475|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 476|废弃版本有变化|类名:FileGetOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 477|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 478|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 479|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 480|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 481|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 482|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 483|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 484|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:complete?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 485|废弃版本有变化|类名:FileListResponse;<br>方法or属性:export interface FileListResponse<br>旧版本信息:|类名:FileListResponse;<br>方法or属性:export interface FileListResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 486|废弃版本有变化|类名:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>旧版本信息:|类名:FileListResponse;<br>方法or属性:fileList: Array\<FileResponse>;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 487|废弃版本有变化|类名:FileListOption;<br>方法or属性:export interface FileListOption<br>旧版本信息:|类名:FileListOption;<br>方法or属性:export interface FileListOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 488|废弃版本有变化|类名:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>旧版本信息:|类名:FileListOption;<br>方法or属性:success?: (data: FileListResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 489|废弃版本有变化|类名:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>旧版本信息:|类名:FileCopyOption;<br>方法or属性:export interface FileCopyOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 490|废弃版本有变化|类名:FileGetOption;<br>方法or属性:export interface FileGetOption<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:export interface FileGetOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 491|废弃版本有变化|类名:FileGetOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 492|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 493|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:recursive?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 494|废弃版本有变化|类名:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>旧版本信息:|类名:FileGetOption;<br>方法or属性:success?: (file: FileResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 495|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:export interface FileDeleteOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 496|废弃版本有变化|类名:FileDeleteOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileDeleteOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 497|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 498|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 499|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 500|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 501|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:success?: () => void;<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:success?: () => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 502|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:export interface FileWriteTextOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 503|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:text: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:text: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 504|废弃版本有变化|类名:FileReadTextResponse;<br>方法or属性:text: string;<br>旧版本信息:|类名:FileReadTextResponse;<br>方法or属性:text: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 505|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:encoding?: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 506|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:encoding?: string;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:encoding?: string;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 507|废弃版本有变化|类名:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>旧版本信息:|类名:FileWriteTextOption;<br>方法or属性:append?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 508|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:append?: boolean;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 509|废弃版本有变化|类名:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>旧版本信息:|类名:FileReadTextResponse;<br>方法or属性:export interface FileReadTextResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 510|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:export interface FileReadTextOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 511|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 512|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 513|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:position?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 514|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:length?: number;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:length?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 515|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:length?: number;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 516|废弃版本有变化|类名:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>旧版本信息:|类名:FileReadTextOption;<br>方法or属性:success?: (data: FileReadTextResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 517|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:export interface FileWriteArrayBufferOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 518|废弃版本有变化|类名:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>旧版本信息:|类名:FileWriteArrayBufferOption;<br>方法or属性:buffer: Uint8Array;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 519|废弃版本有变化|类名:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>旧版本信息:|类名:FileReadArrayBufferResponse;<br>方法or属性:buffer: Uint8Array;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 520|废弃版本有变化|类名:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>旧版本信息:|类名:FileReadArrayBufferResponse;<br>方法or属性:export interface FileReadArrayBufferResponse<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 521|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:export interface FileReadArrayBufferOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 522|废弃版本有变化|类名:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>旧版本信息:|类名:FileReadArrayBufferOption;<br>方法or属性:success?: (data: FileReadArrayBufferResponse) => void;<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 523|废弃版本有变化|类名:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>旧版本信息:|类名:FileAccessOption;<br>方法or属性:export interface FileAccessOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 524|废弃版本有变化|类名:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>旧版本信息:|类名:FileMkdirOption;<br>方法or属性:export interface FileMkdirOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 525|废弃版本有变化|类名:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>旧版本信息:|类名:FileRmdirOption;<br>方法or属性:export interface FileRmdirOption<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 526|废弃版本有变化|类名:File;<br>方法or属性:export default class File<br>旧版本信息:|类名:File;<br>方法or属性:export default class File<br>新版本信息:10<br>代替接口:|@system.file.d.ts| 527|废弃版本有变化|类名:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static move(options: FileMoveOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.moveFile|@system.file.d.ts| 528|废弃版本有变化|类名:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static copy(options: FileCopyOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.copyFile|@system.file.d.ts| 529|废弃版本有变化|类名:File;<br>方法or属性:static list(options: FileListOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static list(options: FileListOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.listFile|@system.file.d.ts| 530|废弃版本有变化|类名:File;<br>方法or属性:static get(options: FileGetOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static get(options: FileGetOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.stat|@system.file.d.ts| 531|废弃版本有变化|类名:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static delete(options: FileDeleteOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.unlink|@system.file.d.ts| 532|废弃版本有变化|类名:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static writeText(options: FileWriteTextOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.write|@system.file.d.ts| 533|废弃版本有变化|类名:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static readText(options: FileReadTextOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.readText|@system.file.d.ts| 534|废弃版本有变化|类名:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static writeArrayBuffer(options: FileWriteArrayBufferOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.write|@system.file.d.ts| 535|废弃版本有变化|类名:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static readArrayBuffer(options: FileReadArrayBufferOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.read|@system.file.d.ts| 536|废弃版本有变化|类名:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static access(options: FileAccessOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.access|@system.file.d.ts| 537|废弃版本有变化|类名:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static mkdir(options: FileMkdirOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.mkdir|@system.file.d.ts| 538|废弃版本有变化|类名:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>旧版本信息:|类名:File;<br>方法or属性:static rmdir(options: FileRmdirOption): void;<br>新版本信息:10<br>代替接口: ohos.file.fs.rmdir|@system.file.d.ts| 539|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.document.d.ts| 540|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function choose(types: string[], callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.document.d.ts| 541|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function show(uri: string, type: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.document.d.ts| 542|新增(错误码)|类名:Environment;<br>方法or属性:function getStorageDataDir(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:Environment;<br>方法or属性:function getStorageDataDir(callback: AsyncCallback\<string>): void;<br>新版本信息:202,13900020,13900042|@ohos.file.environment.d.ts| 543|新增(错误码)|类名:Environment;<br>方法or属性:function getUserDataDir(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:Environment;<br>方法or属性:function getUserDataDir(callback: AsyncCallback\<string>): void;<br>新版本信息:202,13900020,13900042|@ohos.file.environment.d.ts| 544|新增(错误码)|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>旧版本信息:|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 545|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 546|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 547|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 548|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 549|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 550|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 551|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 552|新增(错误码)|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042,14000001,14000002,14000003,14000004,14300001,14300002,14300003,14300004|@ohos.file.fileAccess.d.ts| 553|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:13900002,13900005,13900008,13900011,13900012,13900013,13900018,13900020,13900023,13900030,13900033,13900042|@ohos.file.fs.d.ts| 554|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File, callback: AsyncCallback\<void>): void;<br>新版本信息:13900004,13900005,13900008,13900025,13900041,13900042|@ohos.file.fs.d.ts| 555|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900002,13900004,13900005,13900008,13900010,13900011,13900012,13900013,13900018,13900019,13900020,13900030,13900031,13900033,13900034,13900038,13900042|@ohos.file.fs.d.ts| 556|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:13900002,13900004,13900005,13900008,13900010,13900011,13900012,13900013,13900018,13900019,13900020,13900030,13900031,13900033,13900034,13900038,13900042|@ohos.file.fs.d.ts| 557|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042|@ohos.file.fs.d.ts| 558|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900005,13900008,13900020,13900025,13900027,13900041,13900042|@ohos.file.fs.d.ts| 559|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900010,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042|@ohos.file.fs.d.ts| 560|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900005,13900008,13900020,13900025,13900027,13900041,13900042|@ohos.file.fs.d.ts| 561|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>新版本信息:13900002,13900008,13900011,13900018,13900042|@ohos.file.fs.d.ts| 562|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:13900002,13900008,13900011,13900012,13900013,13900018,13900030,13900033,13900038,13900042|@ohos.file.fs.d.ts| 563|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900015,13900018,13900020,13900025,13900028,13900030,13900033,13900041,13900042|@ohos.file.fs.d.ts| 564|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900015,13900018,13900020,13900025,13900028,13900030,13900033,13900041,13900042|@ohos.file.fs.d.ts| 565|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 566|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<File>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<File>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042|@ohos.file.fs.d.ts| 567|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode: number, callback: AsyncCallback\<File>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode: number, callback: AsyncCallback\<File>): void;<br>新版本信息:13900001,13900002,13900004,13900006,13900008,13900011,13900012,13900013,13900014,13900015,13900017,13900018,13900019,13900020,13900022,13900023,13900024,13900025,13900027,13900029,13900030,13900033,13900034,13900038,13900041,13900042|@ohos.file.fs.d.ts| 568|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>新版本信息:13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900034,13900042|@ohos.file.fs.d.ts| 569|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900034,13900042|@ohos.file.fs.d.ts| 570|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 571|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 572|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 573|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900011,13900012,13900013,13900014,13900018,13900020,13900027,13900030,13900032,13900042|@ohos.file.fs.d.ts| 574|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:13900002,13900004,13900005,13900008,13900011,13900012,13900013,13900018,13900030,13900031,13900033,13900038,13900042|@ohos.file.fs.d.ts| 575|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900005,13900008,13900011,13900012,13900013,13900015,13900018,13900025,13900027,13900030,13900041,13900042|@ohos.file.fs.d.ts| 576|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900004,13900005,13900008,13900012,13900013,13900018,13900019,13900020,13900023,13900024,13900027,13900030,13900033,13900042|@ohos.file.fs.d.ts| 577|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900004,13900005,13900008,13900012,13900013,13900018,13900019,13900020,13900023,13900024,13900027,13900030,13900033,13900042|@ohos.file.fs.d.ts| 578|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900005,13900008,13900011,13900012,13900013,13900014,13900018,13900019,13900020,13900027,13900030,13900033,13900042|@ohos.file.fs.d.ts| 579|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 580|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 581|新增(错误码)|类名:File;<br>方法or属性:lock(exclusive: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:File;<br>方法or属性:lock(exclusive: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:13900004,13900008,13900020,13900034,13900042,13900043|@ohos.file.fs.d.ts| 582|新增(错误码)|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:13900004,13900005,13900008,13900025,13900041,13900042|@ohos.file.fs.d.ts| 583|新增(错误码)|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 584|新增(错误码)|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 585|新增(错误码)|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>新版本信息:13900001,13900004,13900005,13900008,13900010,13900013,13900020,13900024,13900025,13900034,13900041,13900042|@ohos.file.fs.d.ts| 586|新增(错误码)|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>新版本信息:13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900034,13900042|@ohos.file.fs.d.ts| 587|新增(错误码)|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>新版本信息:13900004,13900005,13900008,13900010,13900013,13900019,13900020,13900034,13900042|@ohos.file.fs.d.ts| 588|新增(错误码)|类名:hash;<br>方法or属性:function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:hash;<br>方法or属性:function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900020,13900042|@ohos.file.hash.d.ts| 589|新增(错误码)|类名:securityLabel;<br>方法or属性:function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:securityLabel;<br>方法or属性:function setSecurityLabel(path: string, type: DataLevel, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900007,13900015,13900020,13900025,13900037,13900041,13900042|@ohos.file.securityLabel.d.ts| 590|新增(错误码)|类名:securityLabel;<br>方法or属性:function getSecurityLabel(path: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:securityLabel;<br>方法or属性:function getSecurityLabel(path: string, callback: AsyncCallback\<string>): void;<br>新版本信息:13900001,13900007,13900015,13900020,13900025,13900037,13900041,13900042|@ohos.file.securityLabel.d.ts| 591|新增(错误码)|类名:statfs;<br>方法or属性:function getFreeSize(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:statfs;<br>方法or属性:function getFreeSize(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13900002,13900004,13900005,13900008,13900011,13900012,13900013,13900018,13900030,13900031,13900033,13900038,13900042|@ohos.file.statvfs.d.ts| 592|新增(错误码)|类名:statfs;<br>方法or属性:function getTotalSize(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:statfs;<br>方法or属性:function getTotalSize(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13900002,13900004,13900005,13900008,13900011,13900012,13900013,13900018,13900030,13900031,13900033,13900038,13900042|@ohos.file.statvfs.d.ts| 593|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.storageStatistics.d.ts| 594|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.storageStatistics.d.ts| 595|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.storageStatistics.d.ts| 596|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(): Promise\<BundleStats>;<br>新版本信息:401,13600001,13900042|@ohos.file.storageStatistics.d.ts| 597|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900042|@ohos.file.storageStatistics.d.ts| 598|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:201,202,401,13600001,13900042|@ohos.file.storageStatistics.d.ts| 599|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:201,202,401,13600001,13600009,13900042|@ohos.file.storageStatistics.d.ts| 600|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900042|@ohos.file.storageStatistics.d.ts| 601|新增(错误码)|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:201,202,401,13600001,13900042|@ohos.file.storageStatistics.d.ts| 602|新增(错误码)|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:201,202,401,13600001,13900042|@ohos.file.volumeManager.d.ts| 603|新增(错误码)|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600003,13600005,13600008,13900042|@ohos.file.volumeManager.d.ts| 604|新增(错误码)|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600004,13600005,13600008,13900042|@ohos.file.volumeManager.d.ts| 605|新增(错误码)|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.volumeManager.d.ts| 606|新增(错误码)|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.volumeManager.d.ts| 607|新增(错误码)|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900042|@ohos.file.volumeManager.d.ts| 608|新增(错误码)|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600002,13600005,13600008,13900042|@ohos.file.volumeManager.d.ts| 609|新增(错误码)|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:201,202,401,13600001,13600008,13900042|@ohos.file.volumeManager.d.ts| 610|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 611|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 612|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 613|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 614|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 615|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function createStream(path: string, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 616|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 617|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function chmod(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 618|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 619|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function ftruncate(fd: number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 620|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 621|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fstat(fd: number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:fstat|@ohos.fileio.d.ts| 622|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 623|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchown(fd: number, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 624|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fchmod(fd: number, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 625|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdopenStream(fd: number, mode: string, callback: AsyncCallback\<Stream>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 626|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 627|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lchown(path: string, uid: number, gid: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 628|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function lstat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 629|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 630|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 631|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 632|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 633|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 634|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, flags: number, mode: number, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 635|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 636|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> position?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 637|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 638|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 639|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 640|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 641|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(path: string, callback: AsyncCallback\<Stat>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 642|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function symlink(target: string, srcPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 643|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 644|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(path: string, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 645|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 646|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 647|新增(错误码)|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 648|新增(错误码)|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:read(callback: AsyncCallback\<Dirent>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 649|新增(错误码)|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Dir;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:close|@ohos.fileio.d.ts| 650|新增(错误码)|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:close(callback: AsyncCallback\<void>): void;<br>新版本信息:close|@ohos.fileio.d.ts| 651|新增(错误码)|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:flush(callback: AsyncCallback\<void>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 652|新增(错误码)|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 653|新增(错误码)|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:write(<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> position?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br> ): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 654|新增(错误码)|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(buffer: ArrayBuffer, callback: AsyncCallback\<ReadOut>): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 655|新增(错误码)|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>旧版本信息:|类名:Stream;<br>方法or属性:read(<br> buffer: ArrayBuffer,<br> options: {<br> position?: number;<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<ReadOut><br> ): void;<br>新版本信息:Parameter|@ohos.fileio.d.ts| 656|新增(错误码)|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Watcher;<br>方法or属性:stop(callback: AsyncCallback\<void>): void;<br>新版本信息:stop|@ohos.fileio.d.ts| 657|新增(错误码)|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>新版本信息:201,202,401,143000001|@ohos.fileshare.d.ts| 658|错误码有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 659|错误码有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 660|错误码有变化|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 661|错误码有变化|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 662|错误码有变化|类名:sourcefile;<br>方法or属性:declare function renameSync(oldPath: string, newPath: string): void;<br>旧版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900015,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|类名:sourcefile;<br>方法or属性:declare function renameSync(oldPath: string, newPath: string): void;<br>新版本信息:13900001,13900002,13900008,13900011,13900012,13900013,13900014,13900015,13900016,13900018,13900019,13900020,13900025,13900027,13900028,13900032,13900033,13900041,13900042|@ohos.file.fs.d.ts| 663|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 664|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 665|错误码有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 666|错误码有变化|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;<br>旧版本信息:13600001,13900032,401|类名:storageStatistics;<br>方法or属性:function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;<br>新版本信息:13600001,13900042,401|@ohos.file.storageStatistics.d.ts| 667|错误码有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getSystemSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 668|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(): Promise\<StorageStats>;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(): Promise\<StorageStats>;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 669|错误码有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number): Promise\<StorageStats>;<br>旧版本信息:13600001,13600009,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number): Promise\<StorageStats>;<br>新版本信息:13600001,13600009,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 670|错误码有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getTotalSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 671|错误码有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(callback: AsyncCallback\<number>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:storageStatistics;<br>方法or属性:function getFreeSize(callback: AsyncCallback\<number>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.storageStatistics.d.ts| 672|错误码有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;<br>旧版本信息:13600001,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;<br>新版本信息:13600001,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 673|错误码有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600003,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function mount(volumeId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600003,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 674|错误码有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600004,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600004,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 675|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 676|错误码有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 677|错误码有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 678|错误码有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600002,13600005,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600002,13600005,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 679|错误码有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:13600001,13600008,13900032,201,202,401|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;<br>新版本信息:13600001,13600008,13900042,201,202,401|@ohos.file.volumeManager.d.ts| 680|访问级别有变化|类名:Environment;<br>方法or属性:function getStorageDataDir(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:Environment;<br>方法or属性:function getStorageDataDir(callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.environment.d.ts| 681|访问级别有变化|类名:Environment;<br>方法or属性:function getUserDataDir(callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:Environment;<br>方法or属性:function getUserDataDir(callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.environment.d.ts| 682|访问级别有变化|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>旧版本信息:|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 683|访问级别有变化|类名:FileInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:uri: string;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 684|访问级别有变化|类名:RootInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:uri: string;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 685|访问级别有变化|类名:FileInfo;<br>方法or属性:fileName: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:fileName: string;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 686|访问级别有变化|类名:FileInfo;<br>方法or属性:mode: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mode: number;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 687|访问级别有变化|类名:FileInfo;<br>方法or属性:size: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:size: number;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 688|访问级别有变化|类名:FileInfo;<br>方法or属性:mtime: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mtime: number;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 689|访问级别有变化|类名:FileInfo;<br>方法or属性:mimeType: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mimeType: string;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 690|访问级别有变化|类名:RootInfo;<br>方法or属性:deviceType: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceType: number;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 691|访问级别有变化|类名:RootInfo;<br>方法or属性:displayName: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:displayName: string;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 692|访问级别有变化|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 693|访问级别有变化|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 694|访问级别有变化|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 695|访问级别有变化|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 696|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 697|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 698|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 699|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 700|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 701|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 702|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 703|访问级别有变化|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>新版本信息:systemapi|@ohos.file.fileAccess.d.ts| 704|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_LOCAL_DISK = 1<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_LOCAL_DISK = 1<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 705|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_SHARED_DISK<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_SHARED_DISK<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 706|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_SHARED_TERMINAL<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_SHARED_TERMINAL<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 707|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_NETWORK_NEIGHBORHOODS<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_NETWORK_NEIGHBORHOODS<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 708|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_MTP<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_MTP<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 709|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_USB<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_USB<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 710|访问级别有变化|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_CLOUD<br>旧版本信息:|类名:DeviceType;<br>方法or属性:DEVICE_EXTERNAL_CLOUD<br>新版本信息:systemapi|@ohos.file.fileExtensionInfo.d.ts| 711|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 712|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 713|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 714|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 715|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 716|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 717|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 718|访问级别有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:systemapi|@ohos.file.storageStatistics.d.ts| 719|访问级别有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 720|访问级别有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 721|访问级别有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 722|访问级别有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 723|访问级别有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 724|访问级别有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 725|访问级别有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 726|访问级别有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 727|访问级别有变化|类名:Volume;<br>方法or属性:path: string;<br>旧版本信息:|类名:Volume;<br>方法or属性:path: string;<br>新版本信息:systemapi|@ohos.file.volumeManager.d.ts| 728|访问级别有变化|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>新版本信息:systemapi|@ohos.fileshare.d.ts| 729|权限有变化|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>旧版本信息:|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER,ohos.permission.GET_BUNDLE_INFO_PRIVILEGED|@ohos.file.fileAccess.d.ts| 730|权限有变化|类名:FileInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:uri: string;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 731|权限有变化|类名:RootInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:uri: string;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 732|权限有变化|类名:FileInfo;<br>方法or属性:fileName: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:fileName: string;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 733|权限有变化|类名:FileInfo;<br>方法or属性:mode: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mode: number;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 734|权限有变化|类名:FileInfo;<br>方法or属性:size: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:size: number;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 735|权限有变化|类名:FileInfo;<br>方法or属性:mtime: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mtime: number;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 736|权限有变化|类名:FileInfo;<br>方法or属性:mimeType: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mimeType: string;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 737|权限有变化|类名:RootInfo;<br>方法or属性:deviceType: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceType: number;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 738|权限有变化|类名:RootInfo;<br>方法or属性:displayName: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:displayName: string;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 739|权限有变化|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 740|权限有变化|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback\<number>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 741|权限有变化|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 742|权限有变化|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 743|权限有变化|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:delete(uri: string, callback: AsyncCallback\<number>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 744|权限有变化|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string, callback: AsyncCallback\<string>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 745|权限有变化|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string, callback: AsyncCallback\<string>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 746|权限有变化|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 747|权限有变化|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>旧版本信息:|类名:FileAccessHelper;<br>方法or属性:getRoots(callback: AsyncCallback\<RootIterator>): void;<br>新版本信息:ohos.permission.FILE_ACCESS_MANAGER|@ohos.file.fileAccess.d.ts| 748|权限有变化|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 749|权限有变化|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 750|权限有变化|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getBundleStats(packageName: string): Promise\<BundleStats>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 751|权限有变化|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getSystemSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 752|权限有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 753|权限有变化|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 754|权限有变化|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getTotalSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 755|权限有变化|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>旧版本信息:|类名:storageStatistics;<br>方法or属性:function getFreeSize(): Promise\<number>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.storageStatistics.d.ts| 756|权限有变化|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getAllVolumes(): Promise\<Array\<Volume>>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 757|权限有变化|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function mount(volumeId: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 758|权限有变化|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function unmount(volumeId: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 759|权限有变化|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 760|权限有变化|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function getVolumeById(volumeId: string): Promise\<Volume>;<br>新版本信息:ohos.permission.STORAGE_MANAGER|@ohos.file.volumeManager.d.ts| 761|权限有变化|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_UNMOUNT_MANAGER|@ohos.file.volumeManager.d.ts| 762|权限有变化|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function format(volumeId: string, fsType: string): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| 763|权限有变化|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>旧版本信息:|类名:volumeManager;<br>方法or属性:function partition(diskId: string, type: number): Promise\<void>;<br>新版本信息:ohos.permission.MOUNT_FORMAT_MANAGER|@ohos.file.volumeManager.d.ts| 764|权限有变化|类名:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(<br> uri: string,<br> bundleName: string,<br> flag: wantConstant.Flags,<br> callback: AsyncCallback\<void><br> ): void;<br>新版本信息:ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| 765|权限有变化|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>旧版本信息:|类名:fileShare;<br>方法or属性:function grantUriPermission(uri: string, bundleName: string, flag: wantConstant.Flags): Promise\<void>;<br>新版本信息:ohos.permission.WRITE_MEDIA|@ohos.fileshare.d.ts| 766|model有变化|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>旧版本信息:|类名:fileAccess;<br>方法or属性:function getFileAccessAbilityInfo(): Promise\<Array\<Want>>;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 767|model有变化|类名:FileInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:uri: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 768|model有变化|类名:RootInfo;<br>方法or属性:uri: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:uri: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 769|model有变化|类名:FileInfo;<br>方法or属性:fileName: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:fileName: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 770|model有变化|类名:FileInfo;<br>方法or属性:mode: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mode: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 771|model有变化|类名:FileInfo;<br>方法or属性:size: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:size: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 772|model有变化|类名:FileInfo;<br>方法or属性:mtime: number;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mtime: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 773|model有变化|类名:FileInfo;<br>方法or属性:mimeType: string;<br>旧版本信息:|类名:FileInfo;<br>方法or属性:mimeType: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 774|model有变化|类名:RootInfo;<br>方法or属性:deviceType: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceType: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 775|model有变化|类名:RootInfo;<br>方法or属性:displayName: string;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:displayName: string;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 776|model有变化|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>旧版本信息:|类名:RootInfo;<br>方法or属性:deviceFlags: number;<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 777|model有变化|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:READ = 0o0<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 778|model有变化|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE = 0o1<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 779|model有变化|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>旧版本信息:|类名:OPENFLAGS;<br>方法or属性:WRITE_READ = 0o2<br>新版本信息:StageModelOnly|@ohos.file.fileAccess.d.ts| 780|model有变化|类名:FileAccessHelper;<br>方法or属性:interface FileAccessHelper<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:interface FileAccessHelper<br>新版本信息:|@ohos.file.fileAccess.d.ts| 781|model有变化|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS): Promise\<number>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:openFile(uri: string, flags: OPENFLAGS): Promise\<number>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 782|model有变化|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string): Promise\<string>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:createFile(uri: string, displayName: string): Promise\<string>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 783|model有变化|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string): Promise\<string>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:mkDir(parentUri: string, displayName: string): Promise\<string>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 784|model有变化|类名:FileAccessHelper;<br>方法or属性:delete(uri: string): Promise\<number>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:delete(uri: string): Promise\<number>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 785|model有变化|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string): Promise\<string>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:move(sourceFile: string, destFile: string): Promise\<string>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 786|model有变化|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string): Promise\<string>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:rename(uri: string, displayName: string): Promise\<string>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 787|model有变化|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string): Promise\<boolean>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:access(sourceFileUri: string): Promise\<boolean>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 788|model有变化|类名:FileAccessHelper;<br>方法or属性:getRoots(): Promise\<RootIterator>;<br>旧版本信息:StageModelOnly|类名:FileAccessHelper;<br>方法or属性:getRoots(): Promise\<RootIterator>;<br>新版本信息:|@ohos.file.fileAccess.d.ts| 789|type有变化|类名:Stat;<br>方法or属性:readonly ino: bigint;<br>旧版本信息:number|类名:Stat;<br>方法or属性:readonly ino: bigint;<br>新版本信息:bigint|@ohos.file.fs.d.ts| 790|type有变化|类名:Stat;<br>方法or属性:readonly mode: number;<br>旧版本信息:bigint|类名:Stat;<br>方法or属性:readonly mode: number;<br>新版本信息:number|@ohos.file.fs.d.ts| 791|type有变化|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>旧版本信息:PhotoViewMIMETypes|类名:PhotoSelectOptions;<br>方法or属性:MIMEType?: PhotoViewMIMETypes;<br>新版本信息:?PhotoViewMIMETypes|@ohos.file.picker.d.ts| 792|type有变化|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>旧版本信息:number|类名:PhotoSelectOptions;<br>方法or属性:maxSelectNumber?: number;<br>新版本信息:?number|@ohos.file.picker.d.ts| 793|type有变化|类名:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:PhotoSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts| 794|type有变化|类名:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:DocumentSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts| 795|type有变化|类名:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>旧版本信息:Array\<string>|类名:AudioSaveOptions;<br>方法or属性:newFileNames?: Array\<string>;<br>新版本信息:?Array\<string>|@ohos.file.picker.d.ts| 796|函数有变化|类名:sourcefile;<br>方法or属性:declare function closeSync(fd: number \| File): void;|类名:sourcefile;<br>方法or属性:declare function closeSync(file: number \| File): void;|@ohos.file.fs.d.ts| 797|函数有变化|类名:AbsAlbum;<br>方法or属性:readonly coverUri: string;|类名:AbsAlbum;<br>方法or属性:coverUri: string;|@ohos.filemanagement.userFileManager.d.ts| 798|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string): Promise\<boolean>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string): Promise\<boolean>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 799|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function access(path: string, callback: AsyncCallback\<boolean>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 800|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function accessSync(path: string): boolean;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function accessSync(path: string): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 801|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 802|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function close(file: number \| File, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 803|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function closeSync(file: number \| File): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function closeSync(file: number \| File): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 804|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, mode?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 805|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(src: string \| number, dest: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 806|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFile(<br> src: string \| number,<br> dest: string \| number,<br> mode: number,<br> callback: AsyncCallback\<void><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 807|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function copyFileSync(src: string \| number, dest: string \| number, mode?: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 808|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 809|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 810|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fdatasyncSync(fd: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fdatasyncSync(fd: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 811|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 812|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsync(fd: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 813|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function fsyncSync(fd: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function fsyncSync(fd: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 814|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): Promise\<string[]>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): Promise\<string[]>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 815|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(path: string, callback: AsyncCallback\<string[]>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(path: string, callback: AsyncCallback\<string[]>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 816|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFile(<br> path: string,<br> options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> },<br> callback: AsyncCallback\<string[]><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 817|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function listFileSync(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): string[];<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function listFileSync(<br> path: string,<br> options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br> }<br>): string[];<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 818|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 819|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 820|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdirSync(path: string): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdirSync(path: string): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 821|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string): Promise\<string>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string): Promise\<string>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 822|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtemp(prefix: string, callback: AsyncCallback\<string>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 823|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function mkdtempSync(prefix: string): string;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function mkdtempSync(prefix: string): string;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 824|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 825|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 826|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 827|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function moveFileSync(src: string, dest: string, mode?: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 828|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode?: number): Promise\<File>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode?: number): Promise\<File>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 829|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<File>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, callback: AsyncCallback\<File>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 830|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode: number, callback: AsyncCallback\<File>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function open(path: string, mode: number, callback: AsyncCallback\<File>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 831|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function openSync(path: string, mode?: number): File;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function openSync(path: string, mode?: number): File;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 832|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br>): Promise\<number>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br>): Promise\<number>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 833|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(fd: number, buffer: ArrayBuffer, callback: AsyncCallback\<number>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 834|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function read(<br> fd: number,<br> buffer: ArrayBuffer,<br> options: {<br> offset?: number;<br> length?: number;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 835|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readSync(<br> fd: number,<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br>): number;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readSync(<br> fd: number,<br> buffer: ArrayBuffer,<br> options?: {<br> offset?: number;<br> length?: number;<br> }<br>): number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 836|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<string>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<string>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 837|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(filePath: string, callback: AsyncCallback\<string>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 838|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readText(<br> filePath: string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<string><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 839|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function readTextSync(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): string;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function readTextSync(<br> filePath: string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): string;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 840|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 841|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rename(oldPath: string, newPath: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 842|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function renameSync(oldPath: string, newPath: string): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function renameSync(oldPath: string, newPath: string): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 843|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 844|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdir(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 845|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function rmdirSync(path: string): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function rmdirSync(path: string): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 846|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number): Promise\<Stat>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number): Promise\<Stat>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 847|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number, callback: AsyncCallback\<Stat>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function stat(file: string \| number, callback: AsyncCallback\<Stat>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 848|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function statSync(file: string \| number): Stat;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function statSync(file: string \| number): Stat;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 849|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len?: number): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len?: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 850|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 851|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncate(file: string \| number, len: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 852|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function truncateSync(file: string \| number, len?: number): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function truncateSync(file: string \| number, len?: number): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 853|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function unlink(path: string): Promise\<void>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 854|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlink(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 855|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function unlinkSync(path: string): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function unlinkSync(path: string): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 856|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<number>;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): Promise\<number>;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 857|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(fd: number, buffer: ArrayBuffer \| string, callback: AsyncCallback\<number>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 858|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function write(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> },<br> callback: AsyncCallback\<number><br>): void;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 859|跨平台能力有变化|类名:sourcefile;<br>方法or属性:declare function writeSync(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): number;<br>旧版本信息:|类名:sourcefile;<br>方法or属性:declare function writeSync(<br> fd: number,<br> buffer: ArrayBuffer \| string,<br> options?: {<br> offset?: number;<br> length?: number;<br> encoding?: string;<br> }<br>): number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 860|跨平台能力有变化|类名:sourcefile;<br>方法or属性:export type Filter = {<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> suffix?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> fileSizeOver?: number;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type { ?boolean }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> excludeMedia?: boolean;<br>};<br>旧版本信息:|类名:sourcefile;<br>方法or属性:export type Filter = {<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> suffix?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> displayName?: Array\<string>;<br> /**<br> * @type { ?Array\<string> }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> mimeType?: Array\<string>;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> fileSizeOver?: number;<br> /**<br> * @type { ?number }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> lastModifiedAfter?: number;<br> /**<br> * @type { ?boolean }<br> * @syscap SystemCapability.FileManagement.File.FileIO<br> * @since 10<br> */<br> excludeMedia?: boolean;<br>};<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 861|跨平台能力有变化|类名:fileIo;<br>方法or属性:declare fileIo<br>旧版本信息:|类名:fileIo;<br>方法or属性:declare fileIo<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 862|跨平台能力有变化|类名:OpenMode;<br>方法or属性:OpenMode<br>旧版本信息:|类名:OpenMode;<br>方法or属性:OpenMode<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 863|跨平台能力有变化|类名:File;<br>方法or属性:declare interface File<br>旧版本信息:|类名:File;<br>方法or属性:declare interface File<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 864|跨平台能力有变化|类名:File;<br>方法or属性:readonly fd: number;<br>旧版本信息:|类名:File;<br>方法or属性:readonly fd: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 865|跨平台能力有变化|类名:Stat;<br>方法or属性:declare interface Stat<br>旧版本信息:|类名:Stat;<br>方法or属性:declare interface Stat<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 866|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly ino: bigint;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly ino: bigint;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 867|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly mode: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly mode: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 868|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly uid: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly uid: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 869|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly gid: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly gid: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 870|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly size: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly size: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 871|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly atime: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly atime: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 872|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly mtime: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly mtime: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 873|跨平台能力有变化|类名:Stat;<br>方法or属性:readonly ctime: number;<br>旧版本信息:|类名:Stat;<br>方法or属性:readonly ctime: number;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 874|跨平台能力有变化|类名:Stat;<br>方法or属性:isBlockDevice(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isBlockDevice(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 875|跨平台能力有变化|类名:Stat;<br>方法or属性:isCharacterDevice(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isCharacterDevice(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 876|跨平台能力有变化|类名:Stat;<br>方法or属性:isDirectory(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isDirectory(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 877|跨平台能力有变化|类名:Stat;<br>方法or属性:isFIFO(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isFIFO(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 878|跨平台能力有变化|类名:Stat;<br>方法or属性:isFile(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isFile(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 879|跨平台能力有变化|类名:Stat;<br>方法or属性:isSocket(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isSocket(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 880|跨平台能力有变化|类名:Stat;<br>方法or属性:isSymbolicLink(): boolean;<br>旧版本信息:|类名:Stat;<br>方法or属性:isSymbolicLink(): boolean;<br>新版本信息:crossplatform|@ohos.file.fs.d.ts| 881