SkinTemperatureType

The data type representing skin temperature specifications.

The Samsung Health measures continuous skin temperature while sleeping. It's available through the Galaxy wearable device such as Galaxy Watch and Galaxy RING. If the "Skin temperature during sleep" option is enabled in the [Samsung Health] > [Sleep tracker] > [Advanced measurement], the data is automatically collected during sleep.

Predefined instance

Using the following instance allows for obtaining skin temperature data with more concise code.

Required permission

The user's consent is required to access this data type. Check the granted permissions and request permissions if the required permission is not granted yet with:

See a code example in here.

Available requests

Data specifications

This data type includes the following information.

PropertyDescription
uid[Mandatory]
The data's unique identifier assigned by the Samsung Health.
startTime[Mandatory]
The timestamp representing the start of measurement, specified as Instant, in milliseconds.
endTime[Mandatory]
The timestamp representing the end of measurement, specified as Instant, in milliseconds.
zoneOffset[Mandatory]
The ZoneOffset for startTime and endTime.
dataSource[Mandatory]
The data's source information including the application package name and which device's ID.
SKIN_TEMPERATURE[Mandatory]
The measured skin temperature value in Celsius.
SERIES_DATAThe details regarding continuous skin temperature. It is represented as the list of SkinTemperature.
MIN_SKIN_TEMPERATUREThe lowest skin temperature value in Celsius.
MAX_SKIN_TEMPERATUREThe highest skin temperature value in Celsius.

Associated data

The Samsung Health records blood oxygen levels and skin temperature data continuously during the user's sleep.

For a specific SleepType data record, getting associated data is available through:

Since

1.0.0

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Retrieves a ChangedDataRequest instance to retrieve changed skin temperature data.

Link copied to clipboard

Retrieves a ReadDataRequest instance to read skin temperature data.

Preferences Submitted

You have successfully updated your cookie preferences.