Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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

abstract void onStatusUpdate(UpdateManagerStatus status)

Called when the status of the UpdateManager changes.

Public methods

onStatusUpdate

void onStatusUpdate (UpdateManagerStatus status)

Called when the status of the UpdateManager changes.

Parameters
status UpdateManagerStatus: The latest status.