Added in API level 34

RelationToMealType

class RelationToMealType
kotlin.Any
   ↳ android.health.connect.datatypes.BloodGlucoseRecord.RelationToMealType

Relationship of the meal to the blood glucose measurement.

Summary

Constants
static Int

Reading was taken after an unspecified meal.

static Int

Reading was taken before an unspecified meal.

static Int

Reading was taken during a fasting period.

static Int

Reading was not taken immediately before or after eating.

static Int

Represents a blood glucose which relationship to any meal is unknown / not defined.

Constants

RELATION_TO_MEAL_AFTER_MEAL

Added in API level 34
static val RELATION_TO_MEAL_AFTER_MEAL: Int

Reading was taken after an unspecified meal.

Value: 4

RELATION_TO_MEAL_BEFORE_MEAL

Added in API level 34
static val RELATION_TO_MEAL_BEFORE_MEAL: Int

Reading was taken before an unspecified meal.

Value: 3

RELATION_TO_MEAL_FASTING

Added in API level 34
static val RELATION_TO_MEAL_FASTING: Int

Reading was taken during a fasting period.

Value: 2

RELATION_TO_MEAL_GENERAL

Added in API level 34
static val RELATION_TO_MEAL_GENERAL: Int

Reading was not taken immediately before or after eating.

Value: 1

RELATION_TO_MEAL_UNKNOWN

Added in API level 34
static val RELATION_TO_MEAL_UNKNOWN: Int

Represents a blood glucose which relationship to any meal is unknown / not defined.

Value: 0