init
TypeScriptstatic init(): HKWorkoutConfigurationSwift declarationinit()class · iOS 10.0+ · SDK 27.1
class HKWorkoutConfigurationstatic init(): HKWorkoutConfigurationSwift declarationinit()get activityType(): HKWorkoutActivityTypeSwift declarationvar activityType: HKWorkoutActivityType { get set }set activityType(value: HKWorkoutActivityType)Swift declarationvar activityType: HKWorkoutActivityType { get set }get lapLength(): (HKQuantity) | nullSwift declaration@NSCopying var lapLength: HKQuantity? { get set }set lapLength(value: (HKQuantity) | null)Swift declaration@NSCopying var lapLength: HKQuantity? { get set }get locationType(): HKWorkoutSessionLocationTypeSwift declarationvar locationType: HKWorkoutSessionLocationType { get set }set locationType(value: HKWorkoutSessionLocationType)Swift declarationvar locationType: HKWorkoutSessionLocationType { get set }get swimmingLocationType(): HKWorkoutSwimmingLocationTypeSwift declarationvar swimmingLocationType: HKWorkoutSwimmingLocationType { get set }set swimmingLocationType(value: HKWorkoutSwimmingLocationType)Swift declarationvar swimmingLocationType: HKWorkoutSwimmingLocationType { get set }No declarations were skipped in this snapshot.