public enum WorkoutEvent.Kind
- Object
- Enum<WorkoutEvent.Kind>
- WorkoutEvent.Kind
ImplementsComparable<WorkoutEvent.Kind>
What kind of moment an event marks.
Enum constants
LAP | A lap boundary. |
MARKER | A user-placed marker. |
SEGMENT | The start or end of a named segment. |
PAUSE | The session paused. |
RESUME | The session resumed. |
MOTION_PAUSED | The platform detected that the user stopped moving. |
MOTION_RESUMED | The platform detected that the user resumed moving. |
Methods
public static WorkoutEvent.Kind[] values() | |
public static WorkoutEvent.Kind valueOf(String name) |
Inherited methods
Enum constant details
LAP
LAPA lap boundary.
MARKER
MARKERA user-placed marker.
SEGMENT
SEGMENTThe start or end of a named segment.
PAUSE
PAUSEThe session paused.
RESUME
RESUMEThe session resumed.
MOTION_PAUSED
MOTION_PAUSEDThe platform detected that the user stopped moving.
MOTION_RESUMED
MOTION_RESUMEDThe platform detected that the user resumed moving.
Method details
values
public static WorkoutEvent.Kind[] values()valueOf
public static WorkoutEvent.Kind valueOf(String name)