Stay organized with collections
Save and categorize content based on your preferences.
StatusListener
public
interface
StatusListener
com.google.android.things.update.StatusListener
|
Device firwmare update status listener.
Receives onStatusUpdate(UpdateManagerStatus)
events for tracking the state of software updates.
Summary
Public methods
onStatusUpdate
void onStatusUpdate (UpdateManagerStatus status)
Called when the status of the UpdateManager
changes.
Parameters |
status |
UpdateManagerStatus : The latest status.
|
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,["# StatusListener\n==============\n\n\n`\npublic\n\n\ninterface\nStatusListener\n`\n\n\n`\n\n\n`\n\n|-------------------------------------------------|\n| com.google.android.things.update.StatusListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nDevice firwmare update status listener.\n\nReceives [onStatusUpdate(UpdateManagerStatus)](/reference/com/google/android/things/update/StatusListener#onStatusUpdate(com.google.android.things.update.UpdateManagerStatus)) events for tracking the state of software updates.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onStatusUpdate](/reference/com/google/android/things/update/StatusListener#onStatusUpdate(com.google.android.things.update.UpdateManagerStatus))`(`[UpdateManagerStatus](/reference/com/google/android/things/update/UpdateManagerStatus)` status) ` Called when the status of the [UpdateManager](/reference/com/google/android/things/update/UpdateManager) changes. |\n\nPublic methods\n--------------\n\n### onStatusUpdate\n\n```\nvoid onStatusUpdate (UpdateManagerStatus status)\n```\n\nCalled when the status of the [UpdateManager](/reference/com/google/android/things/update/UpdateManager) changes.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|--------------------------------------------------|\n| `status` | `UpdateManagerStatus`: The latest status. \u003cbr /\u003e |\n\n-\n\n Interfaces\n ----------\n\n - [StatusListener](/reference/com/google/android/things/update/StatusListener)\n-\n\n Classes\n -------\n\n - [PendingUpdateInfo](/reference/com/google/android/things/update/PendingUpdateInfo)\n - [UpdateManager](/reference/com/google/android/things/update/UpdateManager)\n - [UpdateManagerStatus](/reference/com/google/android/things/update/UpdateManagerStatus)\n - [UpdatePolicy](/reference/com/google/android/things/update/UpdatePolicy)\n - [UpdatePolicy.Builder](/reference/com/google/android/things/update/UpdatePolicy.Builder)\n - [VersionInfo](/reference/com/google/android/things/update/VersionInfo)"]]