Show / Hide Table of Contents

Class MetricsSummary

Summary metrics for an exercise.

Inheritance
object
MetricsSummary
Implements
IMessage<MetricsSummary>
IEquatable<MetricsSummary>
IDeepCloneable<MetricsSummary>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.DevicesAndServices.Health.V4
Assembly: Google.DevicesAndServices.Health.V4.dll
Syntax
public sealed class MetricsSummary : IMessage<MetricsSummary>, IEquatable<MetricsSummary>, IDeepCloneable<MetricsSummary>, IBufferMessage, IMessage

Constructors

MetricsSummary()

Declaration
public MetricsSummary()

MetricsSummary(MetricsSummary)

Declaration
public MetricsSummary(MetricsSummary other)
Parameters
Type Name Description
MetricsSummary other

Properties

ActiveZoneMinutes

Optional. Total active zone minutes for the exercise.

Declaration
public long ActiveZoneMinutes { get; set; }
Property Value
Type Description
long

AverageHeartRateBeatsPerMinute

Optional. Average heart rate during the exercise.

Declaration
public long AverageHeartRateBeatsPerMinute { get; set; }
Property Value
Type Description
long

AveragePaceSecondsPerMeter

Optional. Average pace in seconds per meter.

Declaration
public double AveragePaceSecondsPerMeter { get; set; }
Property Value
Type Description
double

AverageSpeedMillimetersPerSecond

Optional. Average speed in millimeters per second.

Declaration
public double AverageSpeedMillimetersPerSecond { get; set; }
Property Value
Type Description
double

CaloriesKcal

Optional. Total calories burned by the user during the exercise.

Declaration
public double CaloriesKcal { get; set; }
Property Value
Type Description
double

DistanceMillimeters

Optional. Total distance covered by the user during the exercise.

Declaration
public double DistanceMillimeters { get; set; }
Property Value
Type Description
double

ElevationGainMillimeters

Optional. Total elevation gain during the exercise.

Declaration
public double ElevationGainMillimeters { get; set; }
Property Value
Type Description
double

HasActiveZoneMinutes

Gets whether the "active_zone_minutes" field is set

Declaration
public bool HasActiveZoneMinutes { get; }
Property Value
Type Description
bool

HasAverageHeartRateBeatsPerMinute

Gets whether the "average_heart_rate_beats_per_minute" field is set

Declaration
public bool HasAverageHeartRateBeatsPerMinute { get; }
Property Value
Type Description
bool

HasAveragePaceSecondsPerMeter

Gets whether the "average_pace_seconds_per_meter" field is set

Declaration
public bool HasAveragePaceSecondsPerMeter { get; }
Property Value
Type Description
bool

HasAverageSpeedMillimetersPerSecond

Gets whether the "average_speed_millimeters_per_second" field is set

Declaration
public bool HasAverageSpeedMillimetersPerSecond { get; }
Property Value
Type Description
bool

HasCaloriesKcal

Gets whether the "calories_kcal" field is set

Declaration
public bool HasCaloriesKcal { get; }
Property Value
Type Description
bool

HasDistanceMillimeters

Gets whether the "distance_millimeters" field is set

Declaration
public bool HasDistanceMillimeters { get; }
Property Value
Type Description
bool

HasElevationGainMillimeters

Gets whether the "elevation_gain_millimeters" field is set

Declaration
public bool HasElevationGainMillimeters { get; }
Property Value
Type Description
bool

HasRunVo2Max

Gets whether the "run_vo2_max" field is set

Declaration
public bool HasRunVo2Max { get; }
Property Value
Type Description
bool

HasSteps

Gets whether the "steps" field is set

Declaration
public bool HasSteps { get; }
Property Value
Type Description
bool

HasTotalSwimLengths

Gets whether the "total_swim_lengths" field is set

Declaration
public bool HasTotalSwimLengths { get; }
Property Value
Type Description
bool

HeartRateZoneDurations

Optional. Time spent in each heart rate zone.

Declaration
public MetricsSummary.Types.TimeInHeartRateZones HeartRateZoneDurations { get; set; }
Property Value
Type Description
MetricsSummary.Types.TimeInHeartRateZones

MobilityMetrics

Optional. Mobility workouts specific metrics. Only present in the advanced running exercises.

Declaration
public MetricsSummary.Types.MobilityMetrics MobilityMetrics { get; set; }
Property Value
Type Description
MetricsSummary.Types.MobilityMetrics

RunVo2Max

Optional. Run VO2 max value for the exercise. Only present in the running exercises at the top level as in the summary of the whole exercise.

Declaration
public double RunVo2Max { get; set; }
Property Value
Type Description
double

Steps

Optional. Total steps taken during the exercise.

Declaration
public long Steps { get; set; }
Property Value
Type Description
long

TotalSwimLengths

Optional. Number of full pool lengths completed during the exercise. Only present in the swimming exercises at the top level as in the summary of the whole exercise.

Declaration
public double TotalSwimLengths { get; set; }
Property Value
Type Description
double
In this article
Back to top Generated by DocFX