Contents

HKDevice

A device that generates data for HealthKit.

Declaration

class HKDevice

Mentioned in

Overview

Devices include Apple Watch, iPhone, and any other health or fitness peripherals that produce the sample data stored in HealthKit. Device objects are immutable: You set the device’s properties when you create the HKDevice object, and they cannot change.

Topics

Creating Device Objects

Accessing Data About a Device

Initializers

See Also

Sources and devices