ExerciseTypeCapabilities

public final class ExerciseTypeCapabilities extends ProtoParcelable


Provides exercise specific capabilities data.

Summary

Public constructors

ExerciseTypeCapabilities(
    Set<DataType> supportedDataTypes,
    Map<DataTypeSet<ComparisonType>> supportedGoals,
    Map<DataTypeSet<ComparisonType>> supportedMilestones,
    boolean supportsAutoPauseAndResume,
    boolean supportsLaps
)

Public methods

@NonNull String

Inherited methods

From class ProtoParcelable
int
boolean
equals(Object other)
int
void
writeToParcel(Parcel dest, int flags)

Public fields

supportedDataTypes

public final @NonNull Set<@NonNull DataTypesupportedDataTypes

supportedGoals

public final @NonNull Map<@NonNull DataType, @NonNull Set<@NonNull ComparisonType>> supportedGoals

supportedMilestones

public final @NonNull Map<@NonNull DataType, @NonNull Set<@NonNull ComparisonType>> supportedMilestones

supportsAutoPauseAndResume

public final boolean supportsAutoPauseAndResume

supportsLaps

public final boolean supportsLaps

Public constructors

ExerciseTypeCapabilities

public final ExerciseTypeCapabilities(
    Set<DataType> supportedDataTypes,
    Map<DataTypeSet<ComparisonType>> supportedGoals,
    Map<DataTypeSet<ComparisonType>> supportedMilestones,
    boolean supportsAutoPauseAndResume,
    boolean supportsLaps
)

Public methods

toString

public @NonNull String toString()