GetLatestReleaseCallback

interface GetLatestReleaseCallback : Callback

Receive the result of MemfaultCloud.getLatestRelease.

All methods are run on the main thread. Only one method will be called.

Functions

Link copied to clipboard
abstract fun onError(e: Exception)

Called when the latest release could not be determined.

Link copied to clipboard
abstract fun onUpdateAvailable(otaPackage: MemfaultOtaPackage)

Called when an update is available for the given device.

Link copied to clipboard
abstract fun onUpToDate()

Called when the device is up to date.