WarmUpConfig

public final class WarmUpConfig extends ProtoParcelable

Object
   ↳ ProtoParcelable
     ↳ WarmUpConfig

Defines configuration for an exercise tracked using HealthServices.

Summary

Nested types

WarmUpConfig.Builder

Builder for WarmUpConfig instances.

WarmUpConfig.Companion

Public fields

final @NonNull Set<@NonNull DataType>
final @NonNull ExerciseType

ExerciseType the user is performing for this exercise.

Public methods

@NonNull String

Inherited methods

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

Public fields

dataTypes

public final @NonNull Set<@NonNull DataTypedataTypes

exerciseType

public final @NonNull ExerciseType exerciseType

ExerciseType the user is performing for this exercise.

This information can be used to tune sensors, e.g. the calories estimate can take the MET value into account.

Public methods

toString

public @NonNull String toString()