One Logo Pool Ball
Intents · IOS API REFERENCE

INStartWorkoutIntent

class · iOS 10.0+ · SDK 27.1

class INStartWorkoutIntent

Members (6)

get · iOS 10.0+

workoutGoalUnitType

TypeScript
get workoutGoalUnitType(): INWorkoutGoalUnitType
Swift declaration
var workoutGoalUnitType: INWorkoutGoalUnitType { get }
get · iOS 10.0+

workoutLocationType

TypeScript
get workoutLocationType(): INWorkoutLocationType
Swift declaration
var workoutLocationType: INWorkoutLocationType { get }
get · iOS 10.0+

workoutName

TypeScript
get workoutName(): (INSpeakableString) | null
Swift declaration
@NSCopying var workoutName: INSpeakableString? { get }
get · iOS 10.0+

isOpenEnded

TypeScript
get isOpenEnded(): (boolean) | null
Swift declaration
@nonobjc final var isOpenEnded: Bool? { get }
init · iOS 10.0+

init

TypeScript
static init(workoutName?: (INSpeakableString) | null, goalValue?: (number) | null, workoutGoalUnitType?: INWorkoutGoalUnitType, workoutLocationType?: INWorkoutLocationType, isOpenEnded?: (boolean) | null): INStartWorkoutIntent
Swift declaration
@nonobjc convenience init(workoutName: INSpeakableString? = nil, goalValue: Double? = nil, workoutGoalUnitType: INWorkoutGoalUnitType = .unknown, workoutLocationType: INWorkoutLocationType = .unknown, isOpenEnded: Bool? = nil)
get · iOS 10.0+

goalValue

TypeScript
get goalValue(): (number) | null
Swift declaration
@nonobjc final var goalValue: Double? { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

INStartWorkoutIntent.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Intents types →