mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 14:13:45 +00:00
onRestoreEx增加异步形式
Signed-off-by: yaoruozi1@huawei.com <yaoruozi1@huawei.com>
This commit is contained in:
parent
2e0528b4d2
commit
8604bf5762
@ -102,8 +102,8 @@ export default class BackupExtensionAbility {
|
||||
* Developer could override this method to restore.
|
||||
*
|
||||
* @param { BundleVersion } bundleVersion Bundle version to be restore.
|
||||
* @param { string | Promise<string> } restoreInfo RestoreInfo to be restore, support promise
|
||||
* @returns { string } Return restore result.
|
||||
* @param { string } restoreInfo RestoreInfo to be restore.
|
||||
* @returns { string | Promise<string> } Return restore result, support promise.
|
||||
* @syscap SystemCapability.FileManagement.StorageService.Backup
|
||||
* @systemapi
|
||||
* @StageModelOnly
|
||||
|
Loading…
Reference in New Issue
Block a user