Stay organized with collections
Save and categorize content based on your preferences.
Downloaded
class Downloaded : AppUpdateResult
Signifies that there is an update waiting for completion.
You should call AppUpdateManager.completeUpdate after receiving this result.
Summary
Public constructors
|
Signifies that there is an update waiting for completion.
|
Public methods
|
suspend Unit |
|
Public constructors
Public methods
completeUpdate
suspend fun completeUpdate(): Unit
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AppUpdateResult.Downloaded\n\nDownloaded\n==========\n\n```\nclass Downloaded : AppUpdateResult\n```\n\n|---|---|------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [com.google.android.play.core.ktx.AppUpdateResult](/reference/com/google/android/play/core/ktx/AppUpdateResult) ||\n| | ↳ | [com.google.android.play.core.ktx.AppUpdateResult.Downloaded](#) |\n\nSignifies that there is an update waiting for completion.\n\nYou should call [AppUpdateManager.completeUpdate](https://developer.android.com/reference/com/google/android/play/core/appupdate/AppUpdateManager.html#completeUpdate()) after receiving this result.\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [\u003cinit\u003e](#%3Cinit%3E(com.google.android.play.core.appupdate.AppUpdateManager))`(`appUpdateManager:` `[AppUpdateManager](https://developer.android.com/reference/com/google/android/play/core/appupdate/AppUpdateManager.html)`)` Signifies that there is an update waiting for completion. |\n\n| ### Public methods ||\n|--------------------------------------------------------------------------------------|------------------------------------------------|\n| suspend [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [completeUpdate](#completeUpdate())`()` \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### \\\u003cinit\\\u003e\n\n```\nDownloaded(appUpdateManager: AppUpdateManager)\n```\n\nSignifies that there is an update waiting for completion.\n\nYou should call [AppUpdateManager.completeUpdate](https://developer.android.com/reference/com/google/android/play/core/appupdate/AppUpdateManager.html#completeUpdate()) after receiving this result. \n**See Also**\n\n- `\n `[completeUpdate](#completeUpdate())\n `\n `\n\nPublic methods\n--------------\n\n### completeUpdate\n\n```\nsuspend fun completeUpdate(): Unit\n```"]]