ProtoParcelable

public abstract class ProtoParcelable<T extends MessageLite>

Known direct subclasses
AchievedExerciseGoal

Defines an achieved ExerciseGoal.

AggregateDataPoint

Accuracy of a DataPoint.

DataPointAccuracy

Accuracy of a DataPoint.

DataPoint

A data point containing a value of type dataType from either a single point in time: DataType.TimeType.SAMPLE, or a range in time: DataType.TimeType.INTERVAL.

DataTypeCondition

A condition which is considered met when a data type value passes a defined threshold.

DataType

A data type is a representation of health data managed by Health Services.

ExerciseCapabilities

A place holder class that represents the capabilities of the androidx.health.services.client.ExerciseClient on the device.

ExerciseConfig

Defines configuration for an exercise tracked using HealthServices.

ExerciseGoal

Defines a goal for an exercise.

ExerciseInfo

High-level info about the exercise.

ExerciseLapSummary

Describes a completed exercise lap.

ExerciseTypeCapabilities

Provides exercise specific capabilities data.

ExerciseUpdate

Contains the latest updated state and metrics for the current exercise.

MeasureCapabilities

A place holder class that represents the capabilities of the androidx.health.services.client.MeasureClient on the device.

MilestoneMarkerSummary

The summary of metrics and state from the previously achieved milestone marker ExerciseGoal.

PassiveGoal

Defines an passive goal that will be triggered when the specified condition is met.

PassiveMonitoringCapabilities

A place holder class that represents the capabilities of the androidx.health.services.client.PassiveMonitoringClient on the device.

PassiveMonitoringConfig

Configuration that defines a request for passive monitoring using HealthServices.

PassiveMonitoringUpdate

Represents an update from Passive tracking.

UserActivityInfo

Represents an update from Passive tracking.

Value

A Parcelable wrapper that can hold a value of a specified type.

WarmUpConfig

Defines configuration for an exercise tracked using HealthServices.

Known indirect subclasses
CumulativeDataPoint

An AggregateDataPoint containing a cumulative total for the type dataType between startTime and endTime.

HrAccuracy

Accuracy for a DataType.HEART_RATE_BPM data point.

LocationAccuracy

Accuracy for a DataType.LOCATION data point.

StatisticalDataPoint

An AggregateDataPoint containing the statistical aggregates min, max, and average for the type dataType between startTime and endTime.


Base class for parcelables backed by protos.

Provided proto represents everything important to subclasses, they need not implement equals and hashCode.

Summary

Public fields

abstract @NonNull T

Proto representation of this object.

Public constructors

Public methods

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

Public fields

proto

public abstract @NonNullproto

Proto representation of this object.

Public constructors

ProtoParcelable

public final <T extends MessageLite> ProtoParcelable()

Public methods

describeContents

public int