Device

Specifies the source device information that provides health data.

It includes:

DeviceType like DeviceGroup.WATCH or DeviceGroup.RING can be retrieved through getting Device with the device's ID.

Since

1.0.0

See also

Types

Link copied to clipboard

A builder to create a Device instance to register a health accessory device.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Retrieves the device type.

Link copied to clipboard
val id: String

Retrieves the device ID. This ID is given to the device by the Samsung Health app. In general, it consists of 10 characters using the base62 format. This is not guaranteed to be the persistent ID for a physical device. For example, when reinstalling the Samsung Health app after it has been uninstalled, a new ID is given to the local device. So, this is a kind of logical device ID.

Link copied to clipboard

Retrieves the manufacturer of the device.

Link copied to clipboard

Retrieves the model of the device.

Link copied to clipboard
val name: String?

Retrieves the name of the device.

Functions

Link copied to clipboard

Checks if this device is of given AccessoryType or not.

Preferences Submitted

You have successfully updated your cookie preferences.