HealthKitDataSource

data class HealthKitDataSource(val name: String, val bundleId: String?)

Represents a source (app or device) that has contributed health data to HealthKit.

Obtained via AFHealthTracking.fetchStepDataSources() (iOS / watchOS only).

Constructors

Link copied to clipboard
constructor(name: String, bundleId: String?)

Properties

Link copied to clipboard

Bundle identifier of the source app, if available (e.g. "com.apple.health.DF29582A-26BA-…").

Link copied to clipboard

Display name of the source (e.g. "iPhone", "Apple Watch", "Strava").