Interface HeartRate.HeartRateMetadataOrBuilder (0.2.0)

public static interface HeartRate.HeartRateMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMotionContext()

public abstract HeartRate.HeartRateMetadata.MotionContext getMotionContext()

Optional. Indicates the user’s level of activity when the heart rate sample was measured

.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.MotionContext motion_context = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRate.HeartRateMetadata.MotionContext

The motionContext.

getMotionContextValue()

public abstract int getMotionContextValue()

Optional. Indicates the user’s level of activity when the heart rate sample was measured

.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.MotionContext motion_context = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for motionContext.

getSensorLocation()

public abstract HeartRate.HeartRateMetadata.SensorLocation getSensorLocation()

Optional. Indicates the location of the sensor that measured the heart rate.

.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.SensorLocation sensor_location = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HeartRate.HeartRateMetadata.SensorLocation

The sensorLocation.

getSensorLocationValue()

public abstract int getSensorLocationValue()

Optional. Indicates the location of the sensor that measured the heart rate.

.google.devicesandservices.health.v4.HeartRate.HeartRateMetadata.SensorLocation sensor_location = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for sensorLocation.