編輯

共用方式為


IINSetProfileInCarIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INSetProfileInCarIntentResponse appropriate to arg.

[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
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleSetProfileInCar(INSetProfileInCarIntent, Action<INSetProfileInCarIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INSetProfileInCarIntentResponse appropriate to the INSetProfileInCarIntent intent.

Extension Methods

ConfirmSetProfileInCar(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INSetProfileInCarIntentResponse>)

Developers may override this method to customize the confirmation of setting a profile.

ResolveCarName(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INSpeakableStringResolutionResult>)
ResolveDefaultProfile(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INBooleanResolutionResult>)

Developers should not use this deprecated method. The property doesn't need to be resolved.

ResolveProfileName(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INStringResolutionResult>)

Developers may override this method to customize the resolution of a profile name.

ResolveProfileNumber(IINSetProfileInCarIntentHandling, INSetProfileInCarIntent, Action<INIntegerResolutionResult>)

Developers may override this method to customize the resolution of a profile number.

Applies to