HealthConstants.WaterIntake
overviewpackageclasstreedeprecatedindex com samsung android sdk healthdata interface healthconstants waterintake all superinterfaces healthconstants common, healthconstants discretemeasurement enclosing class healthconstants public static interface healthconstants waterintake extends healthconstants discretemeasurement this interface defines water intake data of the user properties properties of the following extending interfaces are available for this data type healthconstants common healthconstants discretemeasurement water intake data has the following properties see more common properties by spreading this section out property name description healthconstants waterintake uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants waterintake create_time [mandatory] utc milliseconds when a data is created in the health data store, assigned by the system when a new data is inserted healthconstants waterintake update_time [mandatory] utc milliseconds when a data is updated in the health data store, assigned by the system when a new data is inserted or the existing data is updated healthconstants waterintake package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants waterintake device_uuid [mandatory] device identifier which provides the health data healthconstants waterintake start_time [mandatory] utc milliseconds when the measurement is started healthconstants waterintake time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants waterintake amount [mandatory] amount of water intake healthconstants waterintake unit_amount [mandatory] amount for one unit of water healthconstants waterintake comment comment healthconstants waterintake custom custom info which is formatted with json and compressed data data permission the user's consent is required to read or write this data type healthpermissionmanager requestpermissions displays a data permission ui to the user see permission manager and request data permission since 1 0 0 field summary fields modifier and type field and description static string amount amount of water intake in milliliters static string comment comment for data static string health_data_type data type name for water intake static string unit_amount amount in milliliters for one unit of water, e g in glass or bottle fields inherited from interface com samsung android sdk healthdata healthconstants discretemeasurement start_time, time_offset fields inherited from interface com samsung android sdk healthdata healthconstants common create_time, custom, device_uuid, package_name, update_time, uuid field detail amount static final string amount amount of water intake in milliliters 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 milliliters for one unit of water, e g in glass or bottle mandatory type float value range 0 and above note samsung health's unit amount is 250 ml if you want to show your app's water intake data rightly on samsung health, set it as 250 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 water intake use "com samsung health water_intake" to add permission to the manifest file see also constant field values