public enum WorkoutEvent.Kind

  1. Object
  2. Enum<WorkoutEvent.Kind>
  3. WorkoutEvent.Kind

ImplementsComparable<WorkoutEvent.Kind>

What kind of moment an event marks.

Enum constants

LAPA lap boundary.
MARKERA user-placed marker.
SEGMENTThe start or end of a named segment.
PAUSEThe session paused.
RESUMEThe session resumed.
MOTION_PAUSEDThe platform detected that the user stopped moving.
MOTION_RESUMEDThe 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

LAP
A lap boundary.

MARKER

MARKER
A user-placed marker.

SEGMENT

SEGMENT
The start or end of a named segment.

PAUSE

PAUSE
The session paused.

RESUME

RESUME
The session resumed.

MOTION_PAUSED

MOTION_PAUSED
The platform detected that the user stopped moving.

MOTION_RESUMED

MOTION_RESUMED
The platform detected that the user resumed moving.

Method details

values

public static WorkoutEvent.Kind[] values()

valueOf

public static WorkoutEvent.Kind valueOf(String name)