package com.codename1.health.workout

Workout recording, live where the operating system supports it and framework-recorded everywhere else.

Start at WorkoutManager, reached from Health.getWorkouts().

Check WorkoutManager.isLiveSessionSupported() and WorkoutManager.isSensorCollectionSupported() before building UI around live statistics: on an Android phone a workout records only the samples the app feeds it.

Types

class WorkoutConfigurationDescribes a workout about to be started.
class WorkoutEventA marked moment inside a workout – a lap, a segment boundary, a user-placed marker.
enum WorkoutLocationTypeWhether a workout happens indoors or outdoors.
class WorkoutManagerStarts and tracks workout recordings.
class WorkoutSessionA workout being recorded.
interface WorkoutSessionListenerReceives workout lifecycle and statistics updates.
enum WorkoutSessionStateThe lifecycle of a WorkoutSession.