1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function listFile(path: string, options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}): Promise\<string[]>;|@ohos.file.fs.d.ts| 4|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function listFile(path: string, callback: AsyncCallback\<string[]>): void;|@ohos.file.fs.d.ts| 5|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function listFile(path: string, options: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}, callback: AsyncCallback\<string[]>): void;|@ohos.file.fs.d.ts| 6|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function listFileSync(path: string, options?: {<br> recursion?: boolean;<br> listNum?: number;<br> filter?: Filter;<br>}): string[];|@ohos.file.fs.d.ts| 7|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function moveFile(src: string, dest: string, mode?: number): Promise\<void>;|@ohos.file.fs.d.ts| 8|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function moveFile(src: string, dest: string, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 9|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function moveFile(src: string, dest: string, mode: number, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 10|新增|NA|模块名: ohos.file.fs<br>类名: fileIo<br>方法 or 属性: function moveFileSync(src: string, dest: string, mode?: number): void;|@ohos.file.fs.d.ts| 11|新增|NA|模块名: ohos.file.fs<br>类名: File<br>方法 or 属性: lock(exclusive?: boolean): Promise\<void>;|@ohos.file.fs.d.ts| 12|新增|NA|模块名: ohos.file.fs<br>类名: File<br>方法 or 属性: lock(callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 13|新增|NA|模块名: ohos.file.fs<br>类名: File<br>方法 or 属性: lock(exclusive: boolean, callback: AsyncCallback\<void>): void;|@ohos.file.fs.d.ts| 14|新增|NA|模块名: ohos.file.fs<br>类名: File<br>方法 or 属性: tryLock(exclusive?: boolean): void;|@ohos.file.fs.d.ts| 15|新增|NA|模块名: ohos.file.fs<br>类名: File<br>方法 or 属性: unlock(): void;|@ohos.file.fs.d.ts| 16|新增|NA|模块名: ohos.file.hash<br>类名: hash|@ohos.file.hash.d.ts| 17|新增|NA|类名:hash<br>方法or属性:|@ohos.file.hash.d.ts| 18|新增|NA|模块名: ohos.file.hash<br>类名: hash<br>方法 or 属性:function hash(path: string, algorithm: string): Promise\<string>;|@ohos.file.hash.d.ts| 19|新增|NA|类名:hash<br>方法or属性:function hash(path: string, algorithm: string): Promise\<string>;|@ohos.file.hash.d.ts| 20|新增|NA|模块名: ohos.file.hash<br>类名: hash<br>方法 or 属性:function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;|@ohos.file.hash.d.ts| 21|新增|NA|类名:hash<br>方法or属性:function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;|@ohos.file.hash.d.ts| 22|新增|NA|模块名: ohos.file.picker<br>类名: picker|@ohos.file.picker.d.ts| 23|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewMIMETypes|@ohos.file.picker.d.ts| 24|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewMIMETypes<br>方法 or 属性: IMAGE_TYPE = "image/*"|@ohos.file.picker.d.ts| 25|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewMIMETypes<br>方法 or 属性: VIDEO_TYPE = "video/*"|@ohos.file.picker.d.ts| 26|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewMIMETypes<br>方法 or 属性: IMAGE_VIDEO_TYPE = "*/*"|@ohos.file.picker.d.ts| 27|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectOptions|@ohos.file.picker.d.ts| 28|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectOptions<br>方法 or 属性: MIMEType?: PhotoViewMIMETypes;|@ohos.file.picker.d.ts| 29|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectOptions<br>方法 or 属性: maxSelectNumber?: number;|@ohos.file.picker.d.ts| 30|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectResult|@ohos.file.picker.d.ts| 31|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectResult<br>方法 or 属性: photoUris: Array\<string>;|@ohos.file.picker.d.ts| 32|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSelectResult<br>方法 or 属性: isOriginalPhoto: boolean;|@ohos.file.picker.d.ts| 33|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSaveOptions|@ohos.file.picker.d.ts| 34|新增|NA|模块名: ohos.file.picker<br>类名: PhotoSaveOptions<br>方法 or 属性: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 35|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker|@ohos.file.picker.d.ts| 36|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: select(option?: PhotoSelectOptions) : Promise\<PhotoSelectResult>;|@ohos.file.picker.d.ts| 37|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: select(option: PhotoSelectOptions, callback: AsyncCallback\<PhotoSelectResult>) : void;|@ohos.file.picker.d.ts| 38|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: select(callback: AsyncCallback\<PhotoSelectResult>) : void;|@ohos.file.picker.d.ts| 39|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: save(option?: PhotoSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 40|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: save(option: PhotoSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 41|新增|NA|模块名: ohos.file.picker<br>类名: PhotoViewPicker<br>方法 or 属性: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 42|新增|NA|模块名: ohos.file.picker<br>类名: DocumentSelectOptions|@ohos.file.picker.d.ts| 43|新增|NA|模块名: ohos.file.picker<br>类名: DocumentSaveOptions|@ohos.file.picker.d.ts| 44|新增|NA|模块名: ohos.file.picker<br>类名: DocumentSaveOptions<br>方法 or 属性: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 45|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker|@ohos.file.picker.d.ts| 46|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: select(option?: DocumentSelectOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 47|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: select(option: DocumentSelectOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 48|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: select(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 49|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: save(option?: DocumentSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 50|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: save(option: DocumentSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 51|新增|NA|模块名: ohos.file.picker<br>类名: DocumentViewPicker<br>方法 or 属性: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 52|新增|NA|模块名: ohos.file.picker<br>类名: AudioSelectOptions|@ohos.file.picker.d.ts| 53|新增|NA|模块名: ohos.file.picker<br>类名: AudioSaveOptions|@ohos.file.picker.d.ts| 54|新增|NA|模块名: ohos.file.picker<br>类名: AudioSaveOptions<br>方法 or 属性: newFileNames?: Array\<string>;|@ohos.file.picker.d.ts| 55|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker|@ohos.file.picker.d.ts| 56|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: select(option?: AudioSelectOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 57|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: select(option: AudioSelectOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 58|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: select(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 59|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: save(option?: AudioSaveOptions) : Promise\<Array\<string>>;|@ohos.file.picker.d.ts| 60|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: save(option: AudioSaveOptions, callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 61|新增|NA|模块名: ohos.file.picker<br>类名: AudioViewPicker<br>方法 or 属性: save(callback: AsyncCallback\<Array\<string>>) : void;|@ohos.file.picker.d.ts| 62|新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 63|新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 64|新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 65|新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 66|新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 67|新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 68|新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 69|新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 70|新增|NA|模块名: ohos.file.securityLabel<br>类名: DataLevel<br>方法 or 属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 71|新增|NA|类名:DataLevel<br>方法or属性:type DataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|@ohos.file.securityLabel.d.ts| 72|新增|NA|模块名: ohos.file.statvfs<br>类名: statfs|@ohos.file.statvfs.d.ts| 73|新增|NA|类名:statfs<br>方法or属性:|@ohos.file.statvfs.d.ts| 74|新增|NA|模块名: ohos.file.statvfs<br>类名: statfs<br>方法 or 属性:function getFreeSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 75|新增|NA|类名:statfs<br>方法or属性:function getFreeSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 76|新增|NA|模块名: ohos.file.statvfs<br>类名: statfs<br>方法 or 属性:function getFreeSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 77|新增|NA|类名:statfs<br>方法or属性:function getFreeSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 78|新增|NA|模块名: ohos.file.statvfs<br>类名: statfs<br>方法 or 属性:function getTotalSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 79|新增|NA|类名:statfs<br>方法or属性:function getTotalSize(path: string): Promise\<number>;|@ohos.file.statvfs.d.ts| 80|新增|NA|模块名: ohos.file.statvfs<br>类名: statfs<br>方法 or 属性:function getTotalSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 81|新增|NA|类名:statfs<br>方法or属性:function getTotalSize(path: string, callback: AsyncCallback\<number>): void;|@ohos.file.statvfs.d.ts| 82|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics|@ohos.file.storageStatistics.d.ts| 83|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 84|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 85|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 86|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 87|新增|NA|模块名: ohos.file.storageStatistics<br>类名: BundleStats|@ohos.file.storageStatistics.d.ts| 88|新增|NA|模块名: ohos.file.storageStatistics<br>类名: BundleStats<br>方法 or 属性: appSize: number;|@ohos.file.storageStatistics.d.ts| 89|新增|NA|模块名: ohos.file.storageStatistics<br>类名: BundleStats<br>方法 or 属性: cacheSize: number;|@ohos.file.storageStatistics.d.ts| 90|新增|NA|模块名: ohos.file.storageStatistics<br>类名: BundleStats<br>方法 or 属性: dataSize: number;|@ohos.file.storageStatistics.d.ts| 91|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;|@ohos.file.storageStatistics.d.ts| 92|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getBundleStats(packageName: string): Promise\<BundleStats>;|@ohos.file.storageStatistics.d.ts| 93|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;|@ohos.file.storageStatistics.d.ts| 94|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getCurrentBundleStats(): Promise\<BundleStats>;|@ohos.file.storageStatistics.d.ts| 95|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getSystemSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 96|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getSystemSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 97|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats|@ohos.file.storageStatistics.d.ts| 98|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: total: number;|@ohos.file.storageStatistics.d.ts| 99|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: audio: number;|@ohos.file.storageStatistics.d.ts| 100|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: video: number;|@ohos.file.storageStatistics.d.ts| 101|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: image: number;|@ohos.file.storageStatistics.d.ts| 102|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: file: number;|@ohos.file.storageStatistics.d.ts| 103|新增|NA|模块名: ohos.file.storageStatistics<br>类名: StorageStats<br>方法 or 属性: app: number;|@ohos.file.storageStatistics.d.ts| 104|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getUserStorageStats(): Promise\<StorageStats>;|@ohos.file.storageStatistics.d.ts| 105|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;|@ohos.file.storageStatistics.d.ts| 106|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getUserStorageStats(userId: number): Promise\<StorageStats>;|@ohos.file.storageStatistics.d.ts| 107|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;|@ohos.file.storageStatistics.d.ts| 108|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getTotalSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 109|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getTotalSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 110|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getFreeSize(callback: AsyncCallback\<number>): void;|@ohos.file.storageStatistics.d.ts| 111|新增|NA|模块名: ohos.file.storageStatistics<br>类名: storageStatistics<br>方法 or 属性: function getFreeSize(): Promise\<number>;|@ohos.file.storageStatistics.d.ts| 112|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager|@ohos.file.volumeManager.d.ts| 113|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume|@ohos.file.volumeManager.d.ts| 114|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: id: string;|@ohos.file.volumeManager.d.ts| 115|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: uuid: string;|@ohos.file.volumeManager.d.ts| 116|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: diskId: string;|@ohos.file.volumeManager.d.ts| 117|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: description: string;|@ohos.file.volumeManager.d.ts| 118|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: removable: boolean;|@ohos.file.volumeManager.d.ts| 119|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: state: number;|@ohos.file.volumeManager.d.ts| 120|新增|NA|模块名: ohos.file.volumeManager<br>类名: Volume<br>方法 or 属性: path: string;|@ohos.file.volumeManager.d.ts| 121|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;|@ohos.file.volumeManager.d.ts| 122|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getAllVolumes(): Promise\<Array\<Volume>>;|@ohos.file.volumeManager.d.ts| 123|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function mount(volumeId: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 124|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function mount(volumeId: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 125|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function unmount(volumeId: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 126|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function unmount(volumeId: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 127|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;|@ohos.file.volumeManager.d.ts| 128|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getVolumeByUuid(uuid: string): Promise\<Volume>;|@ohos.file.volumeManager.d.ts| 129|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;|@ohos.file.volumeManager.d.ts| 130|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function getVolumeById(volumeId: string): Promise\<Volume>;|@ohos.file.volumeManager.d.ts| 131|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 132|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function setVolumeDescription(uuid: string, description: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 133|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 134|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function format(volumeId: string, fsType: string): Promise\<void>;|@ohos.file.volumeManager.d.ts| 135|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;|@ohos.file.volumeManager.d.ts| 136|新增|NA|模块名: ohos.file.volumeManager<br>类名: volumeManager<br>方法 or 属性: function partition(diskId: string, type: number): Promise\<void>;|@ohos.file.volumeManager.d.ts| 137|删除|模块名: ohos.file.hash<br>类名: Hash|NA|@ohos.file.hash.d.ts| 138|删除|模块名: ohos.file.hash<br>类名: Hash<br>方法 or 属性:function hash(path: string, algorithm: string): Promise\<string>;|NA|@ohos.file.hash.d.ts| 139|删除|模块名: ohos.file.hash<br>类名: Hash<br>方法 or 属性:function hash(path: string, algorithm: string, callback: AsyncCallback\<string>): void;|NA|@ohos.file.hash.d.ts| 140|删除|模块名: ohos.file.securityLabel<br>类名: dataLevel<br>方法 or 属性:type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.file.securityLabel.d.ts| 141|删除|模块名: ohos.file.securityLabel<br>类名: dataLevel<br>方法 or 属性:type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.file.securityLabel.d.ts| 142|删除|模块名: ohos.file.securityLabel<br>类名: dataLevel<br>方法 or 属性:type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.file.securityLabel.d.ts| 143|删除|模块名: ohos.file.securityLabel<br>类名: dataLevel<br>方法 or 属性:type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.file.securityLabel.d.ts| 144|删除|模块名: ohos.file.securityLabel<br>类名: dataLevel<br>方法 or 属性:type dataLevel = 's0'\|'s1'\|'s2'\|'s3'\|'s4';|NA|@ohos.file.securityLabel.d.ts| 145|删除|模块名: ohos.file.statvfs<br>类名: Statfs|NA|@ohos.file.statvfs.d.ts| 146|删除|模块名: ohos.file.statvfs<br>类名: Statfs<br>方法 or 属性:function getFreeSize(path: string): Promise\<number>;|NA|@ohos.file.statvfs.d.ts| 147|删除|模块名: ohos.file.statvfs<br>类名: Statfs<br>方法 or 属性:function getFreeSize(path: string, callback: AsyncCallback\<number>): void;|NA|@ohos.file.statvfs.d.ts| 148|删除|模块名: ohos.file.statvfs<br>类名: Statfs<br>方法 or 属性:function getTotalSize(path: string): Promise\<number>;|NA|@ohos.file.statvfs.d.ts| 149|删除|模块名: ohos.file.statvfs<br>类名: Statfs<br>方法 or 属性:function getTotalSize(path: string, callback: AsyncCallback\<number>): void;|NA|@ohos.file.statvfs.d.ts| 150|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics|NA|@ohos.storageStatistics.d.ts| 151|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getTotalSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 152|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getTotalSizeOfVolume(volumeUuid: string): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 153|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getFreeSizeOfVolume(volumeUuid: string, callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 154|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getFreeSizeOfVolume(volumeUuid: string): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 155|删除|模块名: ohos.storageStatistics<br>类名: BundleStats|NA|@ohos.storageStatistics.d.ts| 156|删除|模块名: ohos.storageStatistics<br>类名: BundleStats<br>方法 or 属性:appSize: number;|NA|@ohos.storageStatistics.d.ts| 157|删除|模块名: ohos.storageStatistics<br>类名: BundleStats<br>方法 or 属性:cacheSize: number;|NA|@ohos.storageStatistics.d.ts| 158|删除|模块名: ohos.storageStatistics<br>类名: BundleStats<br>方法 or 属性:dataSize: number;|NA|@ohos.storageStatistics.d.ts| 159|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getBundleStats(packageName: string, callback: AsyncCallback\<BundleStats>): void;|NA|@ohos.storageStatistics.d.ts| 160|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getBundleStats(packageName: string): Promise\<BundleStats>;|NA|@ohos.storageStatistics.d.ts| 161|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getCurrentBundleStats(callback: AsyncCallback\<BundleStats>): void;|NA|@ohos.storageStatistics.d.ts| 162|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getCurrentBundleStats(): Promise\<BundleStats>;|NA|@ohos.storageStatistics.d.ts| 163|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getSystemSize(callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 164|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getSystemSize(): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 165|删除|模块名: ohos.storageStatistics<br>类名: StorageStats|NA|@ohos.storageStatistics.d.ts| 166|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:total: number;|NA|@ohos.storageStatistics.d.ts| 167|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:audio: number;|NA|@ohos.storageStatistics.d.ts| 168|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:video: number;|NA|@ohos.storageStatistics.d.ts| 169|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:image: number;|NA|@ohos.storageStatistics.d.ts| 170|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:file: number;|NA|@ohos.storageStatistics.d.ts| 171|删除|模块名: ohos.storageStatistics<br>类名: StorageStats<br>方法 or 属性:app: number;|NA|@ohos.storageStatistics.d.ts| 172|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getUserStorageStats(userId?: number): Promise\<StorageStats>;|NA|@ohos.storageStatistics.d.ts| 173|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getUserStorageStats(callback: AsyncCallback\<StorageStats>): void;|NA|@ohos.storageStatistics.d.ts| 174|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getUserStorageStats(userId: number, callback: AsyncCallback\<StorageStats>): void;|NA|@ohos.storageStatistics.d.ts| 175|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getTotalSize(callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 176|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getTotalSize(): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 177|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getFreeSize(callback: AsyncCallback\<number>): void;|NA|@ohos.storageStatistics.d.ts| 178|删除|模块名: ohos.storageStatistics<br>类名: storageStatistics<br>方法 or 属性:function getFreeSize(): Promise\<number>;|NA|@ohos.storageStatistics.d.ts| 179|删除|模块名: ohos.volumeManager<br>类名: volumeManager|NA|@ohos.volumeManager.d.ts| 180|删除|模块名: ohos.volumeManager<br>类名: Volume|NA|@ohos.volumeManager.d.ts| 181|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:id: string;|NA|@ohos.volumeManager.d.ts| 182|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:uuid: string;|NA|@ohos.volumeManager.d.ts| 183|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:diskId: string;|NA|@ohos.volumeManager.d.ts| 184|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:description: string;|NA|@ohos.volumeManager.d.ts| 185|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:removable: boolean;|NA|@ohos.volumeManager.d.ts| 186|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:state: number;|NA|@ohos.volumeManager.d.ts| 187|删除|模块名: ohos.volumeManager<br>类名: Volume<br>方法 or 属性:path: string;|NA|@ohos.volumeManager.d.ts| 188|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getAllVolumes(callback: AsyncCallback\<Array\<Volume>>): void;|NA|@ohos.volumeManager.d.ts| 189|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getAllVolumes(): Promise\<Array\<Volume>>;|NA|@ohos.volumeManager.d.ts| 190|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function mount(volumeId: string, callback: AsyncCallback\<boolean>): void;|NA|@ohos.volumeManager.d.ts| 191|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function mount(volumeId: string): Promise\<boolean>;|NA|@ohos.volumeManager.d.ts| 192|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function unmount(volumeId: string, callback: AsyncCallback\<boolean>): void;|NA|@ohos.volumeManager.d.ts| 193|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function unmount(volumeId: string): Promise\<boolean>;|NA|@ohos.volumeManager.d.ts| 194|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getVolumeByUuid(uuid: string, callback: AsyncCallback\<Volume>): void;|NA|@ohos.volumeManager.d.ts| 195|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getVolumeByUuid(uuid: string): Promise\<Volume>;|NA|@ohos.volumeManager.d.ts| 196|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getVolumeById(volumeId: string, callback: AsyncCallback\<Volume>): void;|NA|@ohos.volumeManager.d.ts| 197|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function getVolumeById(volumeId: string): Promise\<Volume>;|NA|@ohos.volumeManager.d.ts| 198|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\<void>): void;|NA|@ohos.volumeManager.d.ts| 199|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function setVolumeDescription(uuid: string, description: string): Promise\<void>;|NA|@ohos.volumeManager.d.ts| 200|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function format(volumeId: string, fsType: string, callback: AsyncCallback\<void>): void;|NA|@ohos.volumeManager.d.ts| 201|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function format(volumeId: string, fsType: string): Promise\<void>;|NA|@ohos.volumeManager.d.ts| 202|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function partition(diskId: string, type: number, callback: AsyncCallback\<void>): void;|NA|@ohos.volumeManager.d.ts| 203|删除|模块名: ohos.volumeManager<br>类名: volumeManager<br>方法 or 属性:function partition(diskId: string, type: number): Promise\<void>;|NA|@ohos.volumeManager.d.ts| 204|废弃版本有变化|类名:fileIO<br>方法 or 属性:function opendir(path: string): Promise\<Dir>;<br>废弃版本:N/A|类名:fileIO<br>方法 or 属性:function opendir(path: string): Promise\<Dir>;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 205|废弃版本有变化|类名:fileIO<br>方法 or 属性:function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>废弃版本:N/A|类名:fileIO<br>方法 or 属性:function opendir(path: string, callback: AsyncCallback\<Dir>): void;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 206|废弃版本有变化|类名:fileIO<br>方法 or 属性:function opendirSync(path: string): Dir;<br>废弃版本:N/A|类名:fileIO<br>方法 or 属性:function opendirSync(path: string): Dir;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 207|废弃版本有变化|类名:Dir<br>方法 or 属性:read(): Promise\<Dirent>;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:read(): Promise\<Dirent>;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 208|废弃版本有变化|类名:Dir<br>方法 or 属性:read(callback: AsyncCallback\<Dirent>): void;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:read(callback: AsyncCallback\<Dirent>): void;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 209|废弃版本有变化|类名:Dir<br>方法 or 属性:readSync(): Dirent;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:readSync(): Dirent;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 210|废弃版本有变化|类名:Dir<br>方法 or 属性:close(): Promise\<void>;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:close(): Promise\<void>;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 211|废弃版本有变化|类名:Dir<br>方法 or 属性:close(callback: AsyncCallback\<void>): void;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:close(callback: AsyncCallback\<void>): void;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 212|废弃版本有变化|类名:Dir<br>方法 or 属性:closeSync(): void;<br>废弃版本:N/A|类名:Dir<br>方法 or 属性:closeSync(): void;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 213|废弃版本有变化|类名:Dirent<br>废弃版本:N/A|类名:Dirent<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 214|废弃版本有变化|类名:Dirent<br>方法 or 属性:readonly name: string;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:readonly name: string;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 215|废弃版本有变化|类名:Dirent<br>方法 or 属性:isBlockDevice(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isBlockDevice(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 216|废弃版本有变化|类名:Dirent<br>方法 or 属性:isCharacterDevice(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isCharacterDevice(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 217|废弃版本有变化|类名:Dirent<br>方法 or 属性:isDirectory(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isDirectory(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 218|废弃版本有变化|类名:Dirent<br>方法 or 属性:isFIFO(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isFIFO(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 219|废弃版本有变化|类名:Dirent<br>方法 or 属性:isFile(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isFile(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 220|废弃版本有变化|类名:Dirent<br>方法 or 属性:isSocket(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isSocket(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 221|废弃版本有变化|类名:Dirent<br>方法 or 属性:isSymbolicLink(): boolean;<br>废弃版本:N/A|类名:Dirent<br>方法 or 属性:isSymbolicLink(): boolean;<br>废弃版本:9<br>代替接口:ohos.file.fs.listFile |@ohos.fileio.d.ts| 222|起始版本有变化|类名:fileIO<br>方法 or 属性:function opendirSync(path: string): Dir;<br>起始版本:N/A|类名:fileIO<br>方法 or 属性:function opendirSync(path: string): Dir;<br>起始版本:6|@ohos.fileio.d.ts| 223|函数有变化|类名:securityLabel<br>方法 or 属性:function setSecurityLabel(path: string, type: dataLevel): Promise\<void>;<br>|类名:securityLabel<br>方法 or 属性:function setSecurityLabel(path: string, type: DataLevel): Promise\<void>;<br>|@ohos.file.securityLabel.d.ts| 224|函数有变化|类名: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>|@ohos.file.securityLabel.d.ts| 225|函数有变化|类名:securityLabel<br>方法 or 属性:function setSecurityLabelSync(path: string, type: dataLevel): void;<br>|类名:securityLabel<br>方法 or 属性:function setSecurityLabelSync(path: string, type: DataLevel): void;<br>|@ohos.file.securityLabel.d.ts| 226