One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKActivitySummary

class · iOS 9.3+ · SDK 27.1

class HKActivitySummary

Members (26)

method · iOS 9.3+

dateComponents

TypeScript
dateComponents(calendar: _Foundation_Calendar): _Foundation_DateComponents
Swift declaration
func dateComponents(for calendar: Calendar) -> DateComponents
init

init

TypeScript
static init(): HKActivitySummary
Swift declaration
init()
get · iOS 9.3+

activeEnergyBurned

TypeScript
get activeEnergyBurned(): HKQuantity
Swift declaration
var activeEnergyBurned: HKQuantity { get set }
set · iOS 9.3+

activeEnergyBurned

TypeScript
set activeEnergyBurned(value: HKQuantity)
Swift declaration
var activeEnergyBurned: HKQuantity { get set }
get · iOS 9.3+

activeEnergyBurnedGoal

TypeScript
get activeEnergyBurnedGoal(): HKQuantity
Swift declaration
var activeEnergyBurnedGoal: HKQuantity { get set }
set · iOS 9.3+

activeEnergyBurnedGoal

TypeScript
set activeEnergyBurnedGoal(value: HKQuantity)
Swift declaration
var activeEnergyBurnedGoal: HKQuantity { get set }
get · iOS 14.0+

activityMoveMode

TypeScript
get activityMoveMode(): HKActivityMoveMode
Swift declaration
var activityMoveMode: HKActivityMoveMode { get set }
set · iOS 14.0+

activityMoveMode

TypeScript
set activityMoveMode(value: HKActivityMoveMode)
Swift declaration
var activityMoveMode: HKActivityMoveMode { get set }
get · iOS 9.3+

appleExerciseTime

TypeScript
get appleExerciseTime(): HKQuantity
Swift declaration
var appleExerciseTime: HKQuantity { get set }
set · iOS 9.3+

appleExerciseTime

TypeScript
set appleExerciseTime(value: HKQuantity)
Swift declaration
var appleExerciseTime: HKQuantity { get set }
get · iOS 9.3+ · Deprecated in iOS 100000.0

appleExerciseTimeGoal

TypeScript
get appleExerciseTimeGoal(): HKQuantity
Swift declaration
var appleExerciseTimeGoal: HKQuantity { get set }
set · iOS 9.3+ · Deprecated in iOS 100000.0

appleExerciseTimeGoal

TypeScript
set appleExerciseTimeGoal(value: HKQuantity)
Swift declaration
var appleExerciseTimeGoal: HKQuantity { get set }
get · iOS 14.0+

appleMoveTime

TypeScript
get appleMoveTime(): HKQuantity
Swift declaration
var appleMoveTime: HKQuantity { get set }
set · iOS 14.0+

appleMoveTime

TypeScript
set appleMoveTime(value: HKQuantity)
Swift declaration
var appleMoveTime: HKQuantity { get set }
get · iOS 14.0+

appleMoveTimeGoal

TypeScript
get appleMoveTimeGoal(): HKQuantity
Swift declaration
var appleMoveTimeGoal: HKQuantity { get set }
set · iOS 14.0+

appleMoveTimeGoal

TypeScript
set appleMoveTimeGoal(value: HKQuantity)
Swift declaration
var appleMoveTimeGoal: HKQuantity { get set }
get · iOS 9.3+

appleStandHours

TypeScript
get appleStandHours(): HKQuantity
Swift declaration
var appleStandHours: HKQuantity { get set }
set · iOS 9.3+

appleStandHours

TypeScript
set appleStandHours(value: HKQuantity)
Swift declaration
var appleStandHours: HKQuantity { get set }
get · iOS 9.3+ · Deprecated in iOS 100000.0

appleStandHoursGoal

TypeScript
get appleStandHoursGoal(): HKQuantity
Swift declaration
var appleStandHoursGoal: HKQuantity { get set }
set · iOS 9.3+ · Deprecated in iOS 100000.0

appleStandHoursGoal

TypeScript
set appleStandHoursGoal(value: HKQuantity)
Swift declaration
var appleStandHoursGoal: HKQuantity { get set }
get · iOS 16.0+

exerciseTimeGoal

TypeScript
get exerciseTimeGoal(): (HKQuantity) | null
Swift declaration
var exerciseTimeGoal: HKQuantity? { get set }
set · iOS 16.0+

exerciseTimeGoal

TypeScript
set exerciseTimeGoal(value: (HKQuantity) | null)
Swift declaration
var exerciseTimeGoal: HKQuantity? { get set }
get · iOS 18.0+

isPaused

TypeScript
get isPaused(): boolean
Swift declaration
var isPaused: Bool { get set }
set · iOS 18.0+

isPaused

TypeScript
set isPaused(value: boolean)
Swift declaration
var isPaused: Bool { get set }
get · iOS 16.0+

standHoursGoal

TypeScript
get standHoursGoal(): (HKQuantity) | null
Swift declaration
var standHoursGoal: HKQuantity? { get set }
set · iOS 16.0+

standHoursGoal

TypeScript
set standHoursGoal(value: (HKQuantity) | null)
Swift declaration
var standHoursGoal: HKQuantity? { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →