diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index 0620034b5dd6b219688839ad75fd9a8f9f577281..dbc414c2f33c034df9ba6f4c49cb2c281ee0b8c6 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -20,7 +20,8 @@ import { AsyncCallback, BussinessError } from "./basic"; * * @devices all * @since 6 - * @Syscap SystemCapability.Updater.Raw + * @syscap SystemCapability.Update.UpdateService + * @systemapi hide for inner use. */ declare namespace update { /** @@ -313,7 +314,8 @@ declare namespace update { * * @devices all * @since 6 - * @Syscap SystemCapability.Updater.Raw + * @syscap SystemCapability.Update.UpdateService + * @systemapi hide for inner use. */ export interface Updater { /** @@ -373,12 +375,12 @@ declare namespace update { applyNewVersion(): Promise; /** - * Reboot to clean cache. + * Reboot and clean user data. * * @since 6 */ - rebootAndCleanCache(callback: AsyncCallback): void; - rebootAndCleanCache(): Promise; + rebootAndCleanUserData(callback: AsyncCallback): void; + rebootAndCleanUserData(): Promise; /** * verify update package.