Source objects represents the different data sources in HealthKit. These sources may include apps and devices whose data can be directly imported into the HealthKit store. Currently, HealthKit supports only the direct import of heart rate data from Bluetooth LE devices. All other devices need a companion app to collect and save the data to HealthKit.


Getting the Current Source

class func `default`()

Returns a source object for the current app.

Getting Property Data

var bundleIdentifier: String

The source’s bundle identifier.

var name: String

The source’s name.


Inherits From