Stay organized with collections
Save and categorize content based on your preferences.
StateUpdatedListener
public
interface
StateUpdatedListener
com.google.android.play.core.listener.StateUpdatedListener<StateT>
|
Known indirect subclasses
|
Base interface for state update listeners.
Summary
Public methods |
abstract
void
|
onStateUpdate(StateT state)
Callback triggered whenever the state has changed.
|
Public methods
onStateUpdate
public abstract void onStateUpdate (StateT state)
Callback triggered whenever the state has changed.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# StateUpdatedListener\n\nSummary: [Methods](#pubmethods) \n\nStateUpdatedListener\n====================\n\n\n`\npublic\n\n\ninterface\nStateUpdatedListener\n`\n\n\n`\n\n\n`\n\n|----------------------------------------------------------------------|\n| com.google.android.play.core.listener.StateUpdatedListener\\\u003cStateT\\\u003e |\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [AssetPackStateUpdateListener](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackStateUpdateListener.html), [InstallStateUpdatedListener](../../../../../../../reference/com/google/android/play/core/install/InstallStateUpdatedListener.html), [SplitInstallStateUpdatedListener](../../../../../../../reference/com/google/android/play/core/splitinstall/SplitInstallStateUpdatedListener.html) |----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------| | [AssetPackStateUpdateListener](../../../../../../../reference/com/google/android/play/core/assetpacks/AssetPackStateUpdateListener.html) | Listener that may be registered for updates on the state of the download of asset packs. | | [InstallStateUpdatedListener](../../../../../../../reference/com/google/android/play/core/install/InstallStateUpdatedListener.html) | Listeners that you can register to monitor updates installs. | | [SplitInstallStateUpdatedListener](../../../../../../../reference/com/google/android/play/core/splitinstall/SplitInstallStateUpdatedListener.html) | Listeners that you can register to receive updates to split install requests. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nBase interface for state update listeners.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onStateUpdate](../../../../../../../reference/com/google/android/play/core/listener/StateUpdatedListener.html#onStateUpdate(StateT))`(StateT state) ` Callback triggered whenever the state has changed. |\n\nPublic methods\n--------------\n\n### onStateUpdate\n\n```\npublic abstract void onStateUpdate (StateT state)\n```\n\nCallback triggered whenever the state has changed.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|-----------------|\n| `state` | `StateT` \u003cbr /\u003e |"]]