Language

HealthMealType Enum

Definition

public enum HealthMealType
type HealthMealType = 
Inheritance
HealthMealType

Fields

Name Value Description
Unknown 0
Breakfast 1

Use this for the first meal of the day, usually the morning meal.

Android reference for android.health.connect.datatypes.MealType.MEAL_TYPE_BREAKFAST.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Lunch 2

Use this for the noon meal.

Android reference for android.health.connect.datatypes.MealType.MEAL_TYPE_LUNCH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Dinner 3

Use this for last meal of the day, usually the evening meal.

Android reference for android.health.connect.datatypes.MealType.MEAL_TYPE_DINNER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Snack 4

Any meal outside of the usual three meals per day.

Android reference for android.health.connect.datatypes.MealType.MEAL_TYPE_SNACK.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to