IINSetCarLockStatusIntentHandling 接口

定义

接口定义处理程序方法,实现时,必须使用completionINSetCarLockStatusIntentResponseCode适当的 调用 。intent

[Foundation.Protocol(Name="INSetCarLockStatusIntentHandling", WrapperType=typeof(Intents.INSetCarLockStatusIntentHandlingWrapper))]
[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 IINSetCarLockStatusIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSetCarLockStatusIntentHandling = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

方法

HandleSetCarLockStatus(INSetCarLockStatusIntent, Action<INSetCarLockStatusIntentResponse>)

开发人员必须重写此方法,并使用 相应的 INSetCarLockStatusIntentintent调用 T:System.Action'1INSetCarLockStatusIntentResponse

扩展方法

ConfirmSetCarLockStatus(IINSetCarLockStatusIntentHandling, INSetCarLockStatusIntent, Action<INSetCarLockStatusIntentResponse>)

开发人员可以实施此方法来自定义应用是否可以锁定和解锁汽车的确认。

ResolveCarName(IINSetCarLockStatusIntentHandling, INSetCarLockStatusIntent, Action<INSpeakableStringResolutionResult>)

开发人员可以实现此方法来自定义汽车名称的分辨率。

ResolveLocked(IINSetCarLockStatusIntentHandling, INSetCarLockStatusIntent, Action<INBooleanResolutionResult>)

开发人员可以实现此方法来自定义锁定状态的解析。

适用于