Package-level declarations
Types
Link copied to clipboard
Represents the availability status of the Health Connect SDK on the device.
Link copied to clipboard
data class HealthConnectDiagnostics(val sdkStatus: HealthConnectAvailabilityStatus, val providerPackageName: String, val providerVersionName: String?, val providerVersionCode: Long?, val deviceApiLevel: Int, val isFrameworkModule: Boolean, val grantedPermissions: Set<String>, val missingPermissions: Set<String>, val backgroundReadAvailable: Boolean, val historyReadAvailable: Boolean)
A snapshot of Health Connect diagnostic information for debugging purposes.
Link copied to clipboard
data class HealthData(val date: LocalDate? = null, val timeZoneId: String? = TimeZone.currentSystemDefault().id, val startZonedDateTime: String? = null, val endZonedDateTime: String? = null, val steps: Long? = null, val calories: Double? = null, val caloriesUnit: UnitTypes? = null, val distance: Double? = null, val distanceUnits: UnitTypes? = null, val duration: Long? = null, val durationUnit: UnitTypes? = null)
HealthData — represents a daily snapshot of physical activity.
Link copied to clipboard
Represents the authorization-request status for HealthKit.
Link copied to clipboard
Represents a source (app or device) that has contributed health data to HealthKit.
Link copied to clipboard
data class HealthKitDiagnostics(val isHealthDataAvailable: Boolean, val authorizationRequestStatus: HealthKitAuthRequestStatus, val stepTrackingStatus: HealthPermissionStatus, val osVersion: String, val deviceModel: String, val requestedReadTypes: Set<String>, val stepDataSources: List<HealthKitDataSource> = emptyList())
A snapshot of Apple HealthKit diagnostic information for debugging purposes.
Link copied to clipboard
Represents the inferred read-permission status for health data tracking.