Type Method

confirmationRequired(with:)

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

Declaration

class func confirmationRequired(with workoutLocationTypeToConfirm: INWorkoutLocationType) -> Self

Parameters

workoutLocationTypeToConfirm

The object that resolves the request but must be confirmed by the user.

Return Value

A new INWorkoutLocationTypeResolutionResult object.

Discussion

Use this method when you can resolve the parameter to a similar workout location and want the user to confirm that location choice.

See Also

Creating a Resolution Result Object

class func success(with: INWorkoutLocationType) -> Self

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