mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
add @systemapi and @since 9
Signed-off-by: haonan_7 <haonan2@huawei.com>
This commit is contained in:
parent
408b10d0fe
commit
5486756617
7
api/@ohos.storageStatistics.d.ts
vendored
7
api/@ohos.storageStatistics.d.ts
vendored
@ -52,6 +52,13 @@ declare namespace storageStatistics {
|
||||
cacheSize: number;
|
||||
dataSize: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the bundlestat
|
||||
*
|
||||
* @since 9
|
||||
* @systemapi
|
||||
*/
|
||||
function getBundleStats(packageName: string, callback: AsyncCallback<BundleStats>): void;
|
||||
function getBundleStats(packageName: string): Promise<BundleStats>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user