com.samsung.android.sdk.healthdata

Interface HealthConstants.Nutrition

    • Field Detail

      • MEAL_TYPE_BREAKFAST

        static final int MEAL_TYPE_BREAKFAST
        Meal type for breakfast.
        Its constant value is 100001.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_LUNCH

        static final int MEAL_TYPE_LUNCH
        Meal type for lunch.
        Its constant value is 100002.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_DINNER

        static final int MEAL_TYPE_DINNER
        Meal type for dinner.
        Its constant value is 100003.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_MORNING_SNACK

        static final int MEAL_TYPE_MORNING_SNACK
        Meal type for morning snack.
        Its constant value is 100004.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTERNOON_SNACK

        static final int MEAL_TYPE_AFTERNOON_SNACK
        Meal type for afternoon snack.
        Its constant value is 100005.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_EVENING_SNACK

        static final int MEAL_TYPE_EVENING_SNACK
        Meal type for evening snack.
        Its constant value is 100006.
        Since:
        1.4.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • CALORIE

        static final String CALORIE
        Calories in kilocalories.

        • Mandatory
        • Type: float
        • Value range: 0 ~ 99999

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • TITLE

        static final String TITLE
        Nutrition intake title.

        • Optional
        • Type: String
        • Value length: 0 ~ 255

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • TOTAL_FAT

        static final String TOTAL_FAT
        Total fat amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • SATURATED_FAT

        static final String SATURATED_FAT
        Saturated fat amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • POLYSATURATED_FAT

        static final String POLYSATURATED_FAT
        Polyunsaturated fat amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • MONOSATURATED_FAT

        static final String MONOSATURATED_FAT
        Monounsaturated fat amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • TRANS_FAT

        static final String TRANS_FAT
        Trans fat amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • CARBOHYDRATE

        static final String CARBOHYDRATE
        Carbohydrate amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • DIETARY_FIBER

        static final String DIETARY_FIBER
        Dietary fiber amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • SUGAR

        static final String SUGAR
        Sugar or glucose amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • PROTEIN

        static final String PROTEIN
        Protein amount in grams.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • CHOLESTEROL

        static final String CHOLESTEROL
        Cholesterol amount in milligrams.

        • Optional
        • Type: float
        • Value range: 0 ~ 10000

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • SODIUM

        static final String SODIUM
        Sodium amount in milligrams.

        • Optional
        • Type: float
        • Value range: 0 ~ 10000

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • POTASSIUM

        static final String POTASSIUM
        Potassium amount in milligrams.

        • Optional
        • Type: float
        • Value range: 0 ~ 10000

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • VITAMIN_A

        static final String VITAMIN_A
        Vitamin A amount in percent.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • VITAMIN_C

        static final String VITAMIN_C
        Vitamin C amount in percent.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • CALCIUM

        static final String CALCIUM
        Calcium amount in percent.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • IRON

        static final String IRON
        Iron amount in percent.

        • Optional
        • Type: float
        • Value range: 0 ~ 9999

        Since:
        1.4.0
        See Also:
        Constant Field Values
      • HEALTH_DATA_TYPE

        static final String HEALTH_DATA_TYPE
        Data type name for nutrition.
        Use "com.samsung.health.nutrition" to add permission to the manifest file.
        Since:
        1.4.0
        See Also:
        Constant Field Values