共用方式為


IINResumeWorkoutIntentHandling 介面

定義

定義處理常式方法的介面,在實作時,必須使用適當的 呼叫 completionINResumeWorkoutIntentResponsearg

[Foundation.Protocol(Name="INResumeWorkoutIntentHandling", WrapperType=typeof(Intents.INResumeWorkoutIntentHandlingWrapper))]
[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 IINResumeWorkoutIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINResumeWorkoutIntentHandling = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

屬性

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleResumeWorkout(INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

開發人員必須覆寫這個方法,並叫用適用于 的 INResumeWorkoutIntentintent T:System.Action'1INResumeWorkoutIntentResponse

擴充方法

ConfirmResumeWorkout(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INResumeWorkoutIntentResponse>)

開發人員可能會覆寫這個方法,以自訂應該繼續的確認。

ResolveWorkoutName(IINResumeWorkoutIntentHandling, INResumeWorkoutIntent, Action<INSpeakableStringResolutionResult>)

開發人員可以呼叫這個方法來觸發驗證擷取名稱。

適用於