Class

INWorkoutLocationTypeResolutionResult

A resolution result for the location type where the workout occurs.

Declaration

class INWorkoutLocationTypeResolutionResult : INIntentResolutionResult

Overview

You return an INWorkoutLocationTypeResolutionResult object when resolving parameters containing a INWorkoutLocationType value. Use the creation method that best reflects your ability to successfully resolve the parameter. For additional resolution options, see INIntentResolutionResult.

Topics

Creating a Resolution Result Object

class func success(with: INWorkoutLocationType) -> Self

Creates an object whose resolution involves the successful matching of the specified parameter.

class func confirmationRequired(with: INWorkoutLocationType) -> Self

Creates an object whose resolution requires that the user must confirm the value before proceeding.

Relationships

Conforms To

See Also

Resolution Results

class INWorkoutGoalUnitTypeResolutionResult

A resolution result for the units of a workout goal.