IINEndWorkoutIntentHandling インターフェイス

定義

実装時に、 に適切な を使用して を呼び出す completion 必要があるハンドラー メソッドを INEndWorkoutIntentResponse 定義する argインターフェイス。

[Foundation.Protocol(Name="INEndWorkoutIntentHandling", WrapperType=typeof(Intents.INEndWorkoutIntentHandlingWrapper))]
[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 interface IINEndWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINEndWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
派生
属性
実装

プロパティ

Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)

メソッド

HandleEndWorkout(INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

開発者は、このメソッドをオーバーライドし、適切な を使用して T:System.Action'1INEndWorkoutIntentResponseINEndWorkoutIntentintent呼び出す必要があります。

拡張メソッド

ConfirmEndWorkout(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INEndWorkoutIntentResponse>)

開発者は、このメソッドをオーバーライドして、トレーニングの終了の確認をカスタマイズできます。

ResolveWorkoutName(IINEndWorkoutIntentHandling, INEndWorkoutIntent, Action<INSpeakableStringResolutionResult>)

開発者は、このメソッドをオーバーライドして、トレーニング名の検証をカスタマイズできます。

適用対象