共用方式為


IINGetCarLockStatusIntentHandling 介面

定義

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

[Foundation.Protocol(Name="INGetCarLockStatusIntentHandling", WrapperType=typeof(Intents.INGetCarLockStatusIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, 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 IINGetCarLockStatusIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINGetCarLockStatusIntentHandling = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleGetCarLockStatus(INGetCarLockStatusIntent, Action<INGetCarLockStatusIntentResponse>)

開發人員必須覆寫這個方法,並使用 適當的 INGetCarLockStatusIntent 來叫用 INGetCarLockStatusIntentResponse T:System.Action'1intent

擴充方法

ConfirmGetCarLockStatus(IINGetCarLockStatusIntentHandling, INGetCarLockStatusIntent, Action<INGetCarLockStatusIntentResponse>)

開發人員可以實作這個方法來確認是否可以存取汽車的鎖定。

ResolveCarName(IINGetCarLockStatusIntentHandling, INGetCarLockStatusIntent, Action<INSpeakableStringResolutionResult>)

開發人員可以實作這個方法來解析汽車的名稱。

適用於