public final class ExerciseRoute


Captures a route associated with an exercise session a user does.

Contains a sequence of location points, with timestamps, which do not have to be in order.

Location points contain a timestamp, longitude, latitude, and optionally altitude, horizontal and vertical accuracy.

Summary

Nested types

public final class ExerciseRoute.Location

Represents a single location point recorded during an exercise.

Public constructors

Public methods

boolean
equals(Object other)
final @NonNull List<@NonNull ExerciseRoute.Location>
int
@NonNull String

Public constructors

ExerciseRoute

Added in 1.1.0-alpha10
public ExerciseRoute(@NonNull List<@NonNull ExerciseRoute.Location> route)

Public methods

equals

public boolean equals(Object other)

getRoute

Added in 1.1.0-alpha10
public final @NonNull List<@NonNull ExerciseRoute.LocationgetRoute()

hashCode

public int hashCode()

toString

public @NonNull String toString()