com.samsung.android.sdk.healthdata

Interface HealthConstants.CaffeineIntake

    • Field Detail

      • AMOUNT

        static final String AMOUNT
        Amount of caffeine intake in milligrams.

        • Mandatory
        • Type: float
        • Value range: 0 and above

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • UNIT_AMOUNT

        static final String UNIT_AMOUNT
        Amount in milligram for one unit of caffeine, e.g. in regular size cup or large size cup. If a regular size cup of coffee is 80ml, UNIT_AMOUNT is 80.

        • Mandatory
        • Type: float
        • Value range: 0 and above

        Since:
        1.0.0
        See Also:
        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 caffeine intake.
        Use "com.samsung.health.caffeine_intake" to add permission to the manifest file.
        See Also:
        Constant Field Values