Enumeration Case

INStartWorkoutIntentResponseCode.failureRequiringAppLaunch

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

Declaration

case failureRequiringAppLaunch = 4

Discussion

Use this code only when you can’t start the workout through SiriKit because of extenuating circumstances. For example, you might use this code if the user must log into your app before starting workouts and isn’t currently logged in. Don’t use this response code for general errors or to force the user to launch your app.

See Also

Response State

case unspecified

A response code that indicates an unknown state.

case ready

A response code that indicates app readiness.

case continueInApp

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

case success

A response code that indicates your app succeeded.

case handleInApp

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

case failure

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

case failureOngoingWorkout

A response code that indicates a workout is already in progress, so another can’t start.

case failureNoMatchingWorkout

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