Added in API level 34
MealType
class MealType
| kotlin.Any | |
| ↳ | android.health.connect.datatypes.MealType |
Identifier for the meal type.
Summary
| Constants | |
|---|---|
| static Int |
Use this for the first meal of the day, usually the morning meal. |
| static Int |
Use this for last meal of the day, usually the evening meal. |
| static Int |
Use this for the noon meal. |
| static Int |
Any meal outside of the usual three meals per day. |
| static Int | |
Constants
MEAL_TYPE_BREAKFAST
Added in API level 34
static val MEAL_TYPE_BREAKFAST: Int
Use this for the first meal of the day, usually the morning meal.
Value: 1MEAL_TYPE_DINNER
Added in API level 34
static val MEAL_TYPE_DINNER: Int
Use this for last meal of the day, usually the evening meal.
Value: 3MEAL_TYPE_LUNCH
Added in API level 34
static val MEAL_TYPE_LUNCH: Int
Use this for the noon meal.
Value: 2MEAL_TYPE_SNACK
Added in API level 34
static val MEAL_TYPE_SNACK: Int
Any meal outside of the usual three meals per day.
Value: 4