com.samsung.android.sdk.healthdata

Interface HealthConstants.BloodGlucose

    • Field Detail

      • GLUCOSE

        static final String GLUCOSE
        Measured blood glucose value in millimoles per liter.

        • Mandatory
        • Type: float
        • Value range: 1 ~ 40

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • MEAL_TIME

        static final String MEAL_TIME
        UTC milliseconds at which meal is taken.

        • Optional
        • Type: long
        • Value range: 0 and above

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • MEAL_TYPE_FASTING

        static final int MEAL_TYPE_FASTING
        Measurement taken during fasting.

        Its constant value is 80001. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_MEAL

        static final int MEAL_TYPE_AFTER_MEAL
        Measurement taken after a meal.
        Its constant value is 80002. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_BEFORE_BREAKFAST

        static final int MEAL_TYPE_BEFORE_BREAKFAST
        Measurement taken before breakfast.
        Its constant value is 80003. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_BREAKFAST

        static final int MEAL_TYPE_AFTER_BREAKFAST
        Measurement taken after breakfast.
        Its constant value is 80004. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_BEFORE_LUNCH

        static final int MEAL_TYPE_BEFORE_LUNCH
        Measurement taken before lunch.
        Its constant value is 80005. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_LUNCH

        static final int MEAL_TYPE_AFTER_LUNCH
        Measurement taken after lunch.
        Its constant value is 80006. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_BEFORE_DINNER

        static final int MEAL_TYPE_BEFORE_DINNER
        Measurement taken before dinner.
        Its constant value is 80007. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_DINNER

        static final int MEAL_TYPE_AFTER_DINNER
        Measurement taken after dinner.
        Its constant value is 80008. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_BEDTIME

        @Deprecated
        static final int MEAL_TYPE_AFTER_BEDTIME
        Deprecated. Use other meal types.
        Measurement taken after bedtime.
        Its constant value is 80009. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_AFTER_SNACK

        static final int MEAL_TYPE_AFTER_SNACK
        Measurement taken after a snack.
        Its constant value is 80010. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.0.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_BEFORE_MEAL

        static final int MEAL_TYPE_BEFORE_MEAL
        Measurement taken before a meal.
        Its constant value is 80011. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.1.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_GENERAL

        static final int MEAL_TYPE_GENERAL
        Measurement in general.
        Its constant value is 80012. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.1.0
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEAL_TYPE_BEFORE_SLEEP

        static final int MEAL_TYPE_BEFORE_SLEEP
        Measurement taken before sleep.
        Its constant value is 80013. Refer to here for the blood glucose's meal type UI of Samsung Health.
        Since:
        1.2.1
        See Also:
        MEAL_TYPE, Constant Field Values
      • MEASUREMENT_TYPE_WHOLE_BLOOD

        static final int MEASUREMENT_TYPE_WHOLE_BLOOD
        Whole blood measurement type.
        Its constant value is 90001.
        Since:
        1.0.0
        See Also:
        MEASUREMENT_TYPE, Constant Field Values
      • MEASUREMENT_TYPE_NOT_DEFINED

        static final int MEASUREMENT_TYPE_NOT_DEFINED
        Undefined measurement type.
        Its constant value is -1.
        Since:
        1.0.0
        See Also:
        MEASUREMENT_TYPE, Constant Field Values
      • SAMPLE_SOURCE_TYPE_VENOUS

        static final int SAMPLE_SOURCE_TYPE_VENOUS
        Source type for the venous blood.
        Its constant value is 90001.
        Since:
        1.0.0
        See Also:
        SAMPLE_SOURCE_TYPE, Constant Field Values
      • SAMPLE_SOURCE_TYPE_CAPILLARY

        static final int SAMPLE_SOURCE_TYPE_CAPILLARY
        Capillary sample source type.
        Its constant value is 90002.
        Since:
        1.0.0
        See Also:
        SAMPLE_SOURCE_TYPE, Constant Field Values
      • SAMPLE_SOURCE_TYPE_NOT_DEFINED

        static final int SAMPLE_SOURCE_TYPE_NOT_DEFINED
        Sample source type is not defined.
        Its constant value is -1.
        Since:
        1.0.0
        See Also:
        SAMPLE_SOURCE_TYPE, Constant Field Values
      • COMMENT

        static final String COMMENT
        Comment for data.

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

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • HEALTH_DATA_TYPE

        static final String HEALTH_DATA_TYPE
        Data type name for blood glucose data.
        Use "com.samsung.health.blood_glucose" to add permission to the manifest file.
        Since:
        1.0.0
        See Also:
        Constant Field Values