One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKWorkoutConfiguration

class · iOS 10.0+ · SDK 27.1

class HKWorkoutConfiguration

Members (9)

init

init

TypeScript
static init(): HKWorkoutConfiguration
Swift declaration
init()
get · iOS 10.0+

activityType

TypeScript
get activityType(): HKWorkoutActivityType
Swift declaration
var activityType: HKWorkoutActivityType { get set }
set · iOS 10.0+

activityType

TypeScript
set activityType(value: HKWorkoutActivityType)
Swift declaration
var activityType: HKWorkoutActivityType { get set }
get · iOS 10.0+

lapLength

TypeScript
get lapLength(): (HKQuantity) | null
Swift declaration
@NSCopying var lapLength: HKQuantity? { get set }
set · iOS 10.0+

lapLength

TypeScript
set lapLength(value: (HKQuantity) | null)
Swift declaration
@NSCopying var lapLength: HKQuantity? { get set }
get · iOS 10.0+

locationType

TypeScript
get locationType(): HKWorkoutSessionLocationType
Swift declaration
var locationType: HKWorkoutSessionLocationType { get set }
set · iOS 10.0+

locationType

TypeScript
set locationType(value: HKWorkoutSessionLocationType)
Swift declaration
var locationType: HKWorkoutSessionLocationType { get set }
get · iOS 10.0+

swimmingLocationType

TypeScript
get swimmingLocationType(): HKWorkoutSwimmingLocationType
Swift declaration
var swimmingLocationType: HKWorkoutSwimmingLocationType { get set }
set · iOS 10.0+

swimmingLocationType

TypeScript
set swimmingLocationType(value: HKWorkoutSwimmingLocationType)
Swift declaration
var swimmingLocationType: HKWorkoutSwimmingLocationType { get set }

Skipped declarations

No declarations were skipped in this snapshot.

All HealthKit types →