BloodGlucoseRecord.RelationToMealType

public static final class BloodGlucoseRecord.RelationToMealType
extends Object

java.lang.Object
   ↳ android.health.connect.datatypes.BloodGlucoseRecord.RelationToMealType


Relationship of the meal to the blood glucose measurement.

Summary

Constants

int RELATION_TO_MEAL_AFTER_MEAL

Reading was taken after an unspecified meal.

int RELATION_TO_MEAL_BEFORE_MEAL

Reading was taken before an unspecified meal.

int RELATION_TO_MEAL_FASTING

Reading was taken during a fasting period.

int RELATION_TO_MEAL_GENERAL

Reading was not taken immediately before or after eating.

int RELATION_TO_MEAL_UNKNOWN

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

Inherited methods

Constants

RELATION_TO_MEAL_AFTER_MEAL

Added in API level 34
public static final int RELATION_TO_MEAL_AFTER_MEAL

Reading was taken after an unspecified meal.

Constant Value: 4 (0x00000004)

RELATION_TO_MEAL_BEFORE_MEAL

Added in API level 34
public static final int RELATION_TO_MEAL_BEFORE_MEAL

Reading was taken before an unspecified meal.

Constant Value: 3 (0x00000003)

RELATION_TO_MEAL_FASTING

Added in API level 34
public static final int RELATION_TO_MEAL_FASTING

Reading was taken during a fasting period.

Constant Value: 2 (0x00000002)

RELATION_TO_MEAL_GENERAL

Added in API level 34
public static final int RELATION_TO_MEAL_GENERAL

Reading was not taken immediately before or after eating.

Constant Value: 1 (0x00000001)

RELATION_TO_MEAL_UNKNOWN

Added in API level 34
public static final int RELATION_TO_MEAL_UNKNOWN

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

Constant Value: 0 (0x00000000)