Type Method

local()

returns a device object that represents the current device.

Declaration

class func local() -> HKDevice

Return Value

A device object representing the hardware (iPhone, iPod Touch, or Apple Watch) that is running the app.