• Learn
    • Code Lab
    • Foldables and Large Screens
    • One UI Beta
    • Samsung Developers Podcasts
  • Develop
    • Mobile/Wearable
    • Galaxy GameDev
    • Galaxy Themes
    • Galaxy Watch
    • Health
    • Samsung Blockchain
    • Samsung DeX
    • Samsung IAP
    • Samsung Internet
    • Samsung Pay
    • Samsung Wallet
    • View All
      • Galaxy AR Emoji
      • Galaxy Accessory
      • Galaxy Edge
      • Galaxy Z
      • Galaxy Performance
      • Galaxy FM Radio
      • Galaxy S Pen Remote
      • Galaxy Sensor Extension
      • PENUP
      • Samsung Automation
      • Samsung Neural
      • Samsung TEEGRIS
      • Samsung eSE SDK
    • Visual Display
    • Smart TV
    • Smart Hospitality Display
    • Smart Signage
    • Digital Appliance
    • Family Hub
    • Platform
    • Bixby
    • Knox
    • SmartThings
    • Tizen.NET
  • Design
    • Design System
    • One UI
    • One UI Watch
    • Smart TV
  • Distribute
    • Galaxy Store
    • TV Seller Office
    • Galaxy Store Games
    • Samsung Podcasts
  • Support
    • Developer Support
    • Remote Test Lab
    • Issues and Bugs Channel
    • Samsung Android USB Driver
    • Galaxy Emulator Skin
  • Connect
    • Blog
    • News
    • Forums
    • Events
    • Samsung Developer Conference
    • SDC22
    • SDC21
    • SDC19 and Previous Events
  • Sign In
Top Global Search Form
Recommendation
  • Blog
  • Code Lab
  • Foldable and Large Screen Optimization
  • Forums
  • Galaxy Emulator Skin
  • Galaxy GameDev
  • Health
  • Remote Test Lab
  • Samsung Developer Conference
  • SDC22
  • Watch Face Studio
All Search Form
Recommendation
    Suggestion
      All Search Form
      Filter
      Filter
      Filter
      • ALL (100)
      • DOCS
      • SDK
      • API REFERENCE
      • CODE LAB
      • BLOG
      • NEWS/EVENTS
      • OTHERS
        api reference code lab blog news/events
      1. Develop
      2. Health

      api

      HealthDataUnit

      overview package class tree deprecated index com.samsung.android.sdk.healthdata class healthdataunit java.lang.object com.samsung.android.sdk.healthdata.healthdataunit public abstract class healthdataunit extends object this class represents a unified measurement unit and unit conversion. converting unit you can convert measured health data value to another unit easily with healthdataunit. the following example shows unit conversion with the predefined unit in the health data framework. public class healthdataunitexample { void convert() { double gram = healthdataunit.pound.convertto(1, healthdataunit.gram); // gram is 453.59237 } static double convert(double source, string sourceunit, string destunit) { return healthdataunit.valueof(sourceunit).convertto(source, destunit); } } since: 1.0.0 field summary fields modifier and type field and description static healthdataunit celsius "c" a temperature unit static healthdataunit centimeter "cm" a length unit static healthdataunit fahrenheit "f" a temperature unit static healthdataunit fluid_ounce "fl. oz." static healthdataunit foot "ft" a length unit static healthdataunit gram "g" a weight unit static healthdataunit grams_per_deciliter "g/dl" a substance concentration unit static healthdataunit hba1c_percent "%" a hba1c unit static healthdataunit inch "in" a length unit static healthdataunit kelvin "k" a temperature unit static healthdataunit kilogram "kg" a weight unit static healthdataunit kilometer "km" a length unit static healthdataunit kilopascal "kpa" a pressure unit static healthdataunit liter "l" a volume unit static healthdataunit meter "m" a length unit static healthdataunit micromoles_per_liter "umol/l" a substance concentration unit static healthdataunit mile "mi" a length unit static healthdataunit milligrams_per_deciliter "mg/dl" a substance concentration unit static healthdataunit milliliter "ml" a volume unit static healthdataunit millimeter "mm" a length unit static healthdataunit millimeter_of_mercury "mmhg" a pressure unit static healthdataunit millimoles_per_liter "mmol/l" a substance concentration unit static healthdataunit millimoles_per_mole "mmol/mol" a hba1c unit static healthdataunit pound "lb" a weight unit static healthdataunit rankine "r" a temperature unit static healthdataunit yard "yd" a length unit constructor summary constructors modifier constructor and description protected healthdataunit() creates a healthdataunit instance. method summary all methods static methods instance methods concrete methods deprecated methods modifier and type method and description static double convert(double source, string sourceunit, string destunit) converts a given value for the source unit name to the destination unit name. double convertto(double source, healthdataunit destunit) converts a given value from the current unit to the destination unit object. double convertto(double source, string destunit) converts a given value from the current unit to the destination unit name. string getunitname() gets the health data unit name. boolean iscompatible(healthdataunit unit) checks if the unit of this instance is compatible with a specified unit. static boolean iscompatible(string source, string dest) checks if unit conversion is available between a source and destination unit. static void registerdataunit(healthdataunit unitobject) deprecated. a custom data unit is not supported. static healthdataunit valueof(string unit) gets the health data unit object for a given unit. field detail celsius public static final healthdataunit celsius "c" a temperature unit since: 1.0.0 centimeter public static final healthdataunit centimeter "cm" a length unit since: 1.0.0 gram public static final healthdataunit gram "g" a weight unit since: 1.0.0 kelvin public static final healthdataunit kelvin "k" a temperature unit since: 1.0.0 kilogram public static final healthdataunit kilogram "kg" a weight unit since: 1.0.0 kilometer public static final healthdataunit kilometer "km" a length unit since: 1.0.0 meter public static final healthdataunit meter "m" a length unit since: 1.0.0 millimeter public static final healthdataunit millimeter "mm" a length unit since: 1.0.0 fahrenheit public static final healthdataunit fahrenheit "f" a temperature unit since: 1.0.0 foot public static final healthdataunit foot "ft" a length unit since: 1.0.0 inch public static final healthdataunit inch "in" a length unit since: 1.0.0 mile public static final healthdataunit mile "mi" a length unit since: 1.0.0 pound public static final healthdataunit pound "lb" a weight unit since: 1.0.0 rankine public static final healthdataunit rankine "r" a temperature unit since: 1.0.0 yard public static final healthdataunit yard "yd" a length unit since: 1.0.0 grams_per_deciliter public static final healthdataunit grams_per_deciliter "g/dl" a substance concentration unit since: 1.3.0 milligrams_per_deciliter public static final healthdataunit milligrams_per_deciliter "mg/dl" a substance concentration unit since: 1.3.0 millimoles_per_liter public static final healthdataunit millimoles_per_liter "mmol/l" a substance concentration unit since: 1.3.0 micromoles_per_liter public static final healthdataunit micromoles_per_liter "umol/l" a substance concentration unit since: 1.3.0 millimoles_per_mole public static final healthdataunit millimoles_per_mole "mmol/mol" a hba1c unit since: 1.3.0 hba1c_percent public static final healthdataunit hba1c_percent "%" a hba1c unit since: 1.3.0 millimeter_of_mercury public static final healthdataunit millimeter_of_mercury "mmhg" a pressure unit since: 1.3.0 kilopascal public static final healthdataunit kilopascal "kpa" a pressure unit since: 1.3.0 liter public static final healthdataunit liter "l" a volume unit since: 1.3.0 milliliter public static final healthdataunit milliliter "ml" a volume unit since: 1.3.0 fluid_ounce public static final healthdataunit fluid_ounce "fl. oz." a volume unit since: 1.3.0 constructor detail healthdataunit protected healthdataunit() creates a healthdataunit instance. since: 1.0.0 method detail getunitname public string getunitname() gets the health data unit name. returns: string the unit name since: 1.0.0 valueof public static healthdataunit valueof(string unit) gets the health data unit object for a given unit. parameters: unit - the unit name returns: the healthdataunit instance to be used for unit conversion throws: unknownformatconversionexception - if unit conversion is not available for the given unit string since: 1.0.0 iscompatible public boolean iscompatible(healthdataunit unit) checks if the unit of this instance is compatible with a specified unit. parameters: unit - the other unit returns: true if the unit is compatible, or false throws: illegalargumentexception - if the given unit is null since: 1.0.0 iscompatible public static boolean iscompatible(string source, string dest) checks if unit conversion is available between a source and destination unit. parameters: source - the source unit name dest - the destination unit name returns: true if unit conversion is available, or false since: 1.0.0 convertto public double convertto(double source, healthdataunit destunit) converts a given value from the current unit to the destination unit object. parameters: source - the value of the current unit destunit - the destination unit for conversion returns: the converted value for the destination unit throws: unknownformatconversionexception - if conversion is not available for the destination unit since: 1.0.0 convertto public final double convertto(double source, string destunit) converts a given value from the current unit to the destination unit name. parameters: source - the value for the current unit destunit - the destination unit name for conversion returns: the converted value for the destination unit throws: unknownformatconversionexception - if conversion is not available for the destination unit illegalargumentexception - if the given destunit is null or contains an empty string since: 1.0.0 convert public static double convert(double source, string sourceunit, string destunit) converts a given value for the source unit name to the destination unit name. parameters: source - the value for the sourceunit sourceunit - the source unit name destunit - the destination unit name for conversion returns: the converted value for the destination unit throws: unknownformatconversionexception - if conversion is not available for the destination unit since: 1.0.0 registerdataunit public static void registerdataunit(healthdataunit unitobject) deprecated. a custom data unit is not supported. registers the custom data unit defined newly. parameters: unitobject - the health data unit object to register throws: illegalargumentexception - if given unit is null or existed already since: 1.0.0

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthDataUnit.html
      1. Develop
      2. Health

      api

      HealthConstants.Albumin

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.albumin all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.albumin extends healthconstants.discretemeasurement this interface defines albumin data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement albumin data has the following properties. see more common properties by spreading this section out. property name description healthconstants.albumin.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.albumin.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.albumin.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.albumin.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.albumin.device_uuid [mandatory] device identifier which provides the health data healthconstants.albumin.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.albumin.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.albumin.albumin [mandatory] measured albumin in g/dl healthconstants.albumin.custom custom info which is formatted with json and compressed dataat 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.3.0 field summary fields modifier and type field and description static string albumin measured albumin in g/dl. static string health_data_type data type name for albumin data. 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 albumin static final string albumin measured albumin in g/dl. mandatory type: float value range: 1 ~ 20 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for albumin data. use "com.samsung.health.albumin" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Albumin.html
      1. Develop
      2. Health

      api

      HealthConstants.Alp

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.alp all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.alp extends healthconstants.discretemeasurement this interface defines alp (alkaline phosphatase) data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement alp data has the following properties. see more common properties by spreading this section out. property name description healthconstants.alp.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.alp.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.alp.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.alp.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.alp.device_uuid [mandatory] device identifier which provides the health data healthconstants.alp.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.alp.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.alp.alp [mandatory] measured alp in iu/l healthconstants.alp.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.3.0 field summary fields modifier and type field and description static string alp measured alp in iu/l. static string health_data_type data type name for alp data. 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 alp static final string alp measured alp in iu/l. mandatory type: float value range: 10 ~ 10000 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for alp data. use "com.samsung.health.alp" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Alp.html
      1. Develop
      2. Health

      api

      HealthConstants.Alt

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.alt all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.alt extends healthconstants.discretemeasurement this interface defines alt(alanine aminotransferase) data of the user. gpt indicates the same data. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement alt data has the following properties. see more common properties by spreading this section out. property name description healthconstants.alt.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.alt.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.alt.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.alt.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.alt.device_uuid [mandatory] device identifier which provides the health data healthconstants.alt.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.alt.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.alt.alt [mandatory] measured alt in iu/l healthconstants.alt.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.3.0 field summary fields modifier and type field and description static string alt measured alt in iu/l. static string health_data_type data type name for alt data. 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 alt static final string alt measured alt in iu/l. mandatory type: float value range: 0 ~ 5000 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for alt data. use "com.samsung.health.alt" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Alt.html
      1. Develop
      2. Health

      api

      HealthConstants.Amylase

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.amylase all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.amylase extends healthconstants.discretemeasurement this interface defines amylase data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement amylase data has the following properties. see more common properties by spreading this section out. property name description healthconstants.amylase.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.amylase.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.amylase.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.amylase.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.amylase.device_uuid [mandatory] device identifier which provides the health data healthconstants.amylase.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.amylase.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.amylase.amylase [mandatory] measured amylase in iu/l healthconstants.amylase.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.3.0 field summary fields modifier and type field and description static string amylase measured amylase in iu/l. static string health_data_type data type name for amylase data. 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 amylase static final string amylase measured amylase in iu/l. mandatory type: float value range: 1 ~ 1000 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for amylase data. use "com.samsung.health.amylase" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Amylase.html
      1. Develop
      2. Health

      api

      HealthConstants.Ast

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.ast all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.ast extends healthconstants.discretemeasurement this interface defines ast (aspartate aminotransferase) data of the user. got indicates the same data. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement ast data has the following properties. see more common properties by spreading this section out. property name description healthconstants.ast.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.ast.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.ast.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.ast.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.ast.device_uuid [mandatory] device identifier which provides the health data healthconstants.ast.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.ast.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.ast.ast [mandatory] measured ast in iu/l healthconstants.ast.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.3.0 field summary fields modifier and type field and description static string ast measured ast in iu/l. static string health_data_type data type name for ast data. 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 ast static final string ast measured ast in iu/l. mandatory type: float value range: 0 ~ 5000 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for ast data. use "com.samsung.health.ast" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Ast.html
      1. Develop
      2. Health

      api

      HealthConstants.BodyFat

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.bodyfat all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.bodyfat extends healthconstants.discretemeasurement this interface defines body fat data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement body fat data has the following properties. see more common properties by spreading this section out. property name description healthconstants.bodyfat.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.bodyfat.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.bodyfat.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.bodyfat.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.bodyfat.device_uuid [mandatory] device identifier which provides the health data healthconstants.bodyfat.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.bodyfat.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.bodyfat.body_fat [mandatory] measured body fat in percentage healthconstants.bodyfat.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.3.0 field summary fields modifier and type field and description static string body_fat measured body fat in percentage. static string health_data_type data type name for body fat data. 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 body_fat static final string body_fat measured body fat in percentage. total fat mass divided by total body mass. mandatory type: float value range: 1 ~ 75 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for body fat data. use "com.samsung.health.body_fat" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.BodyFat.html
      1. Develop
      2. Health

      api

      HealthConstants.BodyMuscle

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.bodymuscle all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.bodymuscle extends healthconstants.discretemeasurement this interface defines body muscle data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement body muscle data has the following properties. see more common properties by spreading this section out. property name description healthconstants.bodymuscle.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.bodymuscle.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.bodymuscle.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.bodymuscle.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.bodymuscle.device_uuid [mandatory] device identifier which provides the health data healthconstants.bodymuscle.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.bodymuscle.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.bodymuscle.body_muscle [mandatory] measured muscle mass of body in percentage healthconstants.bodymuscle.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.3.0 field summary fields modifier and type field and description static string body_muscle measured muscle mass of body in percentage. static string health_data_type data type name for body muscle data. 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 body_muscle static final string body_muscle measured muscle mass of body in percentage. total mass of muscle divided by total body mass. mandatory type: float value range: 10 ~ 99 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for body muscle data. use "com.samsung.health.body_muscle" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.BodyMuscle.html
      1. Develop
      2. Health

      api

      HealthConstants.BodyTemperature

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.bodytemperature all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.bodytemperature extends healthconstants.discretemeasurement this interface defines body temperature data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement body temperature data has the following properties. see more common properties by spreading this section out. property name description healthconstants.bodytemperature.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.bodytemperature.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.bodytemperature.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.bodytemperature.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.bodytemperature.device_uuid [mandatory] device identifier which provides the health data healthconstants.bodytemperature.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.bodytemperature.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.bodytemperature.temperature [mandatory] measured temperature healthconstants.bodytemperature.comment comment healthconstants.bodytemperature.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 comment comment for data. static string health_data_type data type name for body temperature data. static string temperature measured temperature in celsius. 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 temperature static final string temperature measured temperature in celsius. mandatory type: float value range: 10 ~ 50 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 body temperature data. use "com.samsung.health.body_temperature" to add permission to the manifest file. since: 1.0.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.BodyTemperature.html
      1. Develop
      2. Health

      api

      HealthConstants.Bun

      overview package class tree deprecated index com.samsung.android.sdk.healthdata interface healthconstants.bun all superinterfaces: healthconstants.common, healthconstants.discretemeasurement enclosing class: healthconstants public static interface healthconstants.bun extends healthconstants.discretemeasurement this interface defines bun (blood urea nitrogen) data of the user. properties properties of the following extending interfaces are available for this data type. healthconstants.common healthconstants.discretemeasurement bun data has the following properties. see more common properties by spreading this section out. property name description healthconstants.bun.uuid [mandatory] data's unique id, assigned by the system when a new data is inserted healthconstants.bun.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.bun.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.bun.package_name [mandatory] package name which provides data, assigned by the system when a new data is inserted healthconstants.bun.device_uuid [mandatory] device identifier which provides the health data healthconstants.bun.start_time [mandatory] utc milliseconds when the measurement is started healthconstants.bun.time_offset [mandatory] time offset in milliseconds which considers the time zone and daylight saving time healthconstants.bun.bun [mandatory] measured bun in mg/dl healthconstants.bun.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.3.0 field summary fields modifier and type field and description static string bun measured bun in mg/dl. static string health_data_type data type name for bun data. 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 bun static final string bun measured bun in mg/dl. mandatory type: float value range: 1 ~ 300 since: 1.3.0 see also: constant field values health_data_type static final string health_data_type data type name for bun data. use "com.samsung.health.bun" to add permission to the manifest file. since: 1.3.0 see also: constant field values

      https://developer.samsung.com/health/android/data/api-reference/com/samsung/android/sdk/healthdata/HealthConstants.Bun.html
      No Search Results
      No Search results. Try using another keyword.
      • <<
      • <
      • 1
      • 2
      • 3
      • 4
      • 5
      • 6
      • 7
      • 8
      • 9
      • 10
      • >
      • >>
      Samsung Developers
      Samsung Developers
      Quick Link
      • Android USB Driver
      • Code Lab
      • Galaxy Emulator Skin
      • Foldables and Large Screens
      • One UI Beta
      • Remote Test Lab
      • Samsung Developers Podcast
      Family Site
      • Bixby
      • Knox
      • Samsung Pay
      • SmartThings
      • Tizen
      • Samsung Research
      • Samsung Open Source
      • Samsung Dev Spain
      • Samsung Dev Brazil
      Legal
      • Terms
      • Privacy
      • Open Source License
      • Cookie Policy
      Social Communications
      • Facebook
      • Instagram
      • Twitter
      • YouTube
      • Buzzsprout
      • Rss
      • Linkedin
      • System Status
      • Site Map
      • System Status
      • Site Map
      • facebook
      • instagram
      • twitter
      • youtube
      • buzzsprout
      • rss
      • linkedin

      Copyright © 2023 SAMSUNG. All rights reserved.