Partager via


MealType.MealTypeSnack Field

Definition

Caution

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

Any meal outside of the usual three meals per day.

[Android.Runtime.Register("MEAL_TYPE_SNACK", 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 MealTypeSnack = 4;
[<Android.Runtime.Register("MEAL_TYPE_SNACK", 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 MealTypeSnack : Android.Health.Connect.DataTypes.HealthMealType

Field Value

Value = 4
Attributes

Remarks

Any meal outside of the usual three meals per day.

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