Partager via


MealType.MealTypeLunch Field

Definition

Caution

This constant will be removed in the future version. Use Android.Health.Connect.DataTypes.HealthMealType enum directly instead of this field.

Use this for the noon meal.

[Android.Runtime.Register("MEAL_TYPE_LUNCH", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Health.Connect.DataTypes.HealthMealType enum directly instead of this field.", true)]
public const Android.Health.Connect.DataTypes.HealthMealType MealTypeLunch = 2;
[<Android.Runtime.Register("MEAL_TYPE_LUNCH", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Health.Connect.DataTypes.HealthMealType enum directly instead of this field.", true)>]
val mutable MealTypeLunch : Android.Health.Connect.DataTypes.HealthMealType

Field Value

Value = 2
Attributes

Remarks

Use this for the noon meal.

Java documentation 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.

Applies to