IINSetProfileInCarIntentHandling 接口

定义

接口定义处理程序方法,实现时,必须使用适用于 的 INSetProfileInCarIntentResponsearg调用completion

[Foundation.Protocol(Name="INSetProfileInCarIntentHandling", WrapperType=typeof(Intents.INSetProfileInCarIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSetProfileInCarIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSetProfileInCarIntentHandling = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

属性

Handle

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

(继承自 INativeObject)

方法

HandleSetProfileInCar(INSetProfileInCarIntent, Action<INSetProfileInCarIntentResponse>)

开发人员必须重写此方法,并使用 适用于 INSetProfileInCarIntentintent的 调用 T:System.Action'1INSetProfileInCarIntentResponse

扩展方法

ConfirmSetProfileInCar(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INSetProfileInCarIntentResponse>)

开发人员可以重写此方法以自定义设置配置文件的确认。

ResolveCarName(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INSpeakableStringResolutionResult>)

接口定义处理程序方法,实现时,必须使用适用于 的 INSetProfileInCarIntentResponsearg调用completion

ResolveDefaultProfile(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INBooleanResolutionResult>)

开发人员不应使用此已弃用的方法。 无需解析 属性。

ResolveProfileName(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INStringResolutionResult>)

开发人员可以重写此方法以自定义配置文件名称的解析。

ResolveProfileNumber(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INIntegerResolutionResult>)

开发人员可以重写此方法以自定义配置文件编号的解析。

适用于