Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

# MealType

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/android/health/connect/datatypes/MealType "View this page in Java")

```
class MealType
```

|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||
| ↳ | [android.health.connect.datatypes.MealType](https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#) |

Identifier for the meal type.

## Summary

| Constants ||
|---|---|
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#MEAL_TYPE_BREAKFAST:kotlin.Int` Use this for the first meal of the day, usually the morning meal. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#MEAL_TYPE_DINNER:kotlin.Int` Use this for last meal of the day, usually the evening meal. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#MEAL_TYPE_LUNCH:kotlin.Int` Use this for the noon meal. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#MEAL_TYPE_SNACK:kotlin.Int` Any meal outside of the usual three meals per day. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/health/connect/datatypes/MealType#MEAL_TYPE_UNKNOWN:kotlin.Int` <br /> |

## Constants

### MEAL_TYPE_BREAKFAST

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

```
static val MEAL_TYPE_BREAKFAST: Int
```

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

    Value: 1

### MEAL_TYPE_DINNER

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

```
static val MEAL_TYPE_DINNER: Int
```

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

    Value: 3

### MEAL_TYPE_LUNCH

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

```
static val MEAL_TYPE_LUNCH: Int
```

Use this for the noon meal.

    Value: 2

### MEAL_TYPE_SNACK

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

```
static val MEAL_TYPE_SNACK: Int
```

Any meal outside of the usual three meals per day.

    Value: 4

### MEAL_TYPE_UNKNOWN

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Also in [U Extensions 7](https://developer.android.com/sdkExtensions)

```
static val MEAL_TYPE_UNKNOWN: Int
```

    Value: 0