INCancelWorkoutIntentHandling_Extensions Class
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.
Extension methods to the IINCancelWorkoutIntentHandling interface to support all the methods from the INCancelWorkoutIntentHandling protocol.
public static class INCancelWorkoutIntentHandling_Extensions
type INCancelWorkoutIntentHandling_Extensions = class
- Inheritance
-
INCancelWorkoutIntentHandling_Extensions
Remarks
The extension methods for IINCancelWorkoutIntentHandling interface allow developers to treat instances of the interface as having all the optional methods of the original INCancelWorkoutIntentHandling protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
Methods
| Name | Description |
|---|---|
| Confirm(IINCancelWorkoutIntentHandling, INCancelWorkoutIntent, Action<INCancelWorkoutIntentResponse>) |
Developers may override this method to customize the confirmation of the cancellation of a workout. |
| ResolveWorkoutName(IINCancelWorkoutIntentHandling, INCancelWorkoutIntent, Action<INSpeakableStringResolutionResult>) |
Developers can call this method to customize the resolution of the workout name. |