Device


public final class Device
extends Object

java.lang.Object
   ↳ android.health.connect.datatypes.Device


A physical device (such as phone, watch, scale, or chest strap) which captured associated health data point.

Device needs to be populated by users of the API. Metadata fields not provided by clients will remain absent.

Summary

Nested classes

class Device.Builder

 

Constants

int DEVICE_TYPE_CHEST_STRAP

Wearable straps worn around the chest, primarily used for highly accurate heart rate monitoring during exercise.

int DEVICE_TYPE_CONSUMER_MEDICAL_DEVICE

Over-the-counter Medical devices.

int DEVICE_TYPE_FITNESS_BAND

Wearable devices, typically worn on the wrist or arm, primarily focused on tracking physical activity and basic health metrics.

int DEVICE_TYPE_FITNESS_EQUIPMENT

Tools and accessories designed for use during physical exercise.

int DEVICE_TYPE_FITNESS_MACHINE

Stationary or mobile equipment designed for physical exercise.

int DEVICE_TYPE_GLASSES

Wearable glasses with integrated technology and computing capabilities.

int DEVICE_TYPE_HEAD_MOUNTED

Devices worn on the head, beyond glasses, designed for specific health or fitness applications, often involving sensing or stimulation.

int DEVICE_TYPE_HEARABLE

Electronic devices worn in or around the ears, often with audio capabilities.

int DEVICE_TYPE_METER

Equipment attachments that measure a specific metric.

int DEVICE_TYPE_PHONE

A handheld mobile computing and communication device, equipped with various sensors (e.g., accelerometer, GPS) that can collect health and fitness data, or serve as a primary interface for manual data entry or managing data from connected per