INStartWorkoutIntentResponseCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates results codes for the INStartWorkoutIntent.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum INStartWorkoutIntentResponseCode
type INStartWorkoutIntentResponseCode =
- Inheritance
-
INStartWorkoutIntentResponseCode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unspecified | 0 | Indicates that no explicit response code was provided. |
Ready | 1 | Developers should return this during the confirmation phase, indicating the extension's ability to handle the intent. |
ContinueInApp | 2 | Developers should use this code to indicate to the system that the intent needs further processing inside the app. |
Failure | 3 | Developers should use this code to indicate that they failed to process the intent. |
FailureRequiringAppLaunch | 4 | Developers should use this code to indicate that they failed to process the intent and further processing must be done in the app. |
FailureOngoingWorkout | 5 | Developers should use this code to indicate they could not locate an ongoing workout. |
FailureNoMatchingWorkout | 6 | Developers should use this code to indicate they failed to find a matching workout. |
Success | 7 | Developers should use this response code to indicate that the extension successfully processed the intent. |
HandleInApp | 8 | Developers should use this code to indicate to the system that the intent needs further processing inside the app. |