未验证 提交 565bb92c 编写于 作者: J jackd320 提交者: Gitee

Signed-off-by: jackd320<jack.dai@huawei.com>

上级 8952d411
......@@ -349,7 +349,7 @@ updater.getCurrentVersionInfo().then(info => {
### getCurrentVersionDescription
getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void;
getCurrentVersionDescription(descriptionOptions: DescriptionOptions, callback: AsyncCallback\<Array\<ComponentDescription>>): void
获取当前版本描述文件。使用callback异步回调。
......@@ -381,7 +381,7 @@ updater.getCurrentVersionDescription(descriptionOptions, (err, info) => {
### getCurrentVersionDescription
getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise\<Array\<ComponentDescription>>;
getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise\<Array\<ComponentDescription>>
获取当前版本描述文件。使用Promise异步回调。
......@@ -419,7 +419,7 @@ updater.getCurrentVersionDescription(descriptionOptions).then(info => {
### getTaskInfo
getCurrentVersionDescription(descriptionOptions: DescriptionOptions): Promise<Array<ComponentDescription>>;
getTaskInfo(callback: AsyncCallback\<TaskInfo>): void
获取升级任务信息。使用callback异步回调。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册