com.samsung.android.sdk.healthdata

Interface HealthConstants.Common

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static String CREATE_TIME
      UTC milliseconds when a data is created in the health data store.
      static String CUSTOM
      Custom info which is formatted with JSON and compressed data.
      static String DEVICE_UUID
      Device identifier of the source device which provides a health data.
      static String PACKAGE_NAME
      Package name which provides a data.
      static String UPDATE_TIME
      UTC milliseconds when a data is updated.
      static String UUID
      Unique ID for each health data.
    • Field Detail

      • UUID

        static final String UUID
        Unique ID for each health data.
        You don't need to set its value because it is assigned by the system when a new data is inserted.

        • Assigned by the system
        • Type: String
        • Value length: 10 ~ 36

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • CREATE_TIME

        static final String CREATE_TIME
        UTC milliseconds when a data is created in the health data store.
        You don't need to set its value because it is assigned by the system when a new data is inserted. It is different with START_TIME that indicates the start time for measurement.

        • Assigned by the system
        • Type: long
        • Value range: 0 and above

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • UPDATE_TIME

        static final String UPDATE_TIME
        UTC milliseconds when a data is updated.
        You don't need to set its value. When a new data is inserted, it is assigned as the same value with CREATE_TIME by the system. Then it is replaced to the updated time by the system if existing health data is updated.

        • Assigned by the system
        • Type: long
        • Value range: 0 and above

        Since:
        1.0.0
        See Also:
        Constant Field Values
      • PACKAGE_NAME

        static final String PACKAGE_NAME
        Package name which provides a data.
        You don't need to set its value because it is assigned by the system when a new data is inserted.

        • Assigned by the system
        • Type: String
        • Value length: 0 ~ 64

        Since:
        1.0.0
        See Also:
        Constant Field Values