mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
commit
fb8a584d93
7
api/phone/@ohos.update.d.ts
vendored
7
api/phone/@ohos.update.d.ts
vendored
@ -405,6 +405,13 @@ declare namespace update {
|
||||
off(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;
|
||||
off(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void;
|
||||
off(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void;
|
||||
|
||||
/**
|
||||
* cancel download packages for the device.
|
||||
*
|
||||
* @since 6
|
||||
*/
|
||||
cancel(): void;
|
||||
}
|
||||
|
||||
export type UpdateTypes =
|
||||
|
Loading…
Reference in New Issue
Block a user