Instance Method


Resolves the workout name selected by the user.


- (void)resolveWorkoutNameForStartWorkout:(INStartWorkoutIntent *)intent withCompletion:(void (^)(INSpeakableStringResolutionResult *resolutionResult))completion;



The intent object that contains details about the user’s request. Use this object to get the initial information, if any, provided by the user.


The block to execute with the resolution. You must execute this block while implementing this method. This block has no return value and takes the following parameter:


The object containing the details of your proposed resolution. For a successful resolution, create a resolution result that includes the name of the workout you plan to start.


This method resolves the workout name. Use it to validate the user-supplied workout name. If you don’t implement this method, SiriKit assumes that you’re able to start the requested workout with the specified name.

See Also

Resolving the Intent Parameters

- resolveGoalValueForStartWorkout:withCompletion:

Resolves the numerical goal of a user’s workout.

- resolveWorkoutGoalUnitTypeForStartWorkout:withCompletion:

Resolves the units for the user’s workout goal.

- resolveWorkoutLocationTypeForStartWorkout:withCompletion:

Resolves the location type of a user’s workout.

- resolveIsOpenEndedForStartWorkout:withCompletion:

Resolves whether the user’s workout is open ended.