Interface HeartRate.HeartRateMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HeartRate.HeartRateMetadata, HeartRate.HeartRateMetadata.Builder
Enclosing class:
HeartRate

public static interface HeartRate.HeartRateMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getMotionContextValue

      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:
      The enum numeric value on the wire for 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:
      The motionContext.
    • getSensorLocationValue

      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:
      The enum numeric value on the wire for 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:
      The sensorLocation.