ExerciseUpdateListener

interface ExerciseUpdateListener


Listener that is called when the state of the current exercise is updated.

Summary

Public methods

abstract void
onAvailabilityChanged(DataType dataType, Availability availability)

Called during an ACTIVE exercise when the availability of a DataType changes.

abstract void

Called during an ACTIVE exercise or on any changes in ExerciseState.

abstract void

Called during an ACTIVE exercise once a lap has been marked.

Public methods

onAvailabilityChanged

abstract void onAvailabilityChanged(DataType dataType, Availability availability)

Called during an ACTIVE exercise when the availability of a DataType changes.

onExerciseUpdate

abstract void onExerciseUpdate(ExerciseUpdate update)

Called during an ACTIVE exercise or on any changes in ExerciseState.

onLapSummary

abstract void onLapSummary(ExerciseLapSummary lapSummary)

Called during an ACTIVE exercise once a lap has been marked.