Enumeration Case

INEndWorkoutIntentResponseCodeContinueInApp

A response code that indicates your app extension is ready to transfer control to the app to start the workout.

Declaration

INEndWorkoutIntentResponseCodeContinueInApp

Discussion

Upon returning this code, SiriKit launches your app and passes it the NSUserActivity object you provided at initialization time. (If you did not provide a user activity object, SiriKit creates one for you). SiriKit adds an INInteraction object with the intent and your response to the user activity object before delivering it. Your app should use the information in the user activity object to end the workout.

See Also

Response State

INEndWorkoutIntentResponseCodeUnspecified

A response code that indicates an unknown state.

INEndWorkoutIntentResponseCodeReady

A response code that indicates app readiness.

INEndWorkoutIntentResponseCodeSuccess

A response code that indicates your app succeeded.

INEndWorkoutIntentResponseCodeHandleInApp

A response code that indicates you want to handle the intent in your app instead.

INEndWorkoutIntentResponseCodeFailure

A response code that indicates you were unable to start the specified workout.

INEndWorkoutIntentResponseCodeFailureRequiringAppLaunch

A response code that indicates the user must launch your app to start the workout.

INEndWorkoutIntentResponseCodeFailureNoMatchingWorkout

A response code that indicates you didn’t find the specified workout.