Editar

Compartilhar via


IINActivateCarSignalIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INActivateCarSignalIntentResponse appropriate to the intent.

[Foundation.Protocol(Name="INActivateCarSignalIntentHandling", WrapperType=typeof(Intents.INActivateCarSignalIntentHandlingWrapper))]
[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 IINActivateCarSignalIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINActivateCarSignalIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleActivateCarSignal(INActivateCarSignalIntent, Action<INActivateCarSignalIntentResponse>)

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

Extension Methods

ConfirmActivateCarSignal(IINActivateCarSignalIntentHandling, INActivateCarSignalIntent, Action<INActivateCarSignalIntentResponse>)

Developers may implement this method to confirm whether the car's signals may be activated.

ResolveCarName(IINActivateCarSignalIntentHandling, INActivateCarSignalIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to resolve the car's name.

ResolveSignals(IINActivateCarSignalIntentHandling, INActivateCarSignalIntent, Action<INCarSignalOptionsResolutionResult>)

Developers may implement this method to resolve the requested signals by type.

Applies to