Edytuj

Udostępnij za pośrednictwem


IINGetCarPowerLevelStatusIntentHandling Interface

Definition

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

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleGetCarPowerLevelStatus(INGetCarPowerLevelStatusIntent, Action<INGetCarPowerLevelStatusIntentResponse>)

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

Extension Methods

ConfirmGetCarPowerLevelStatus(IINGetCarPowerLevelStatusIntentHandling, INGetCarPowerLevelStatusIntent, Action<INGetCarPowerLevelStatusIntentResponse>)

Developers may implement this method to confirm whether the car's power levels can be accessed.

ResolveCarName(IINGetCarPowerLevelStatusIntentHandling, INGetCarPowerLevelStatusIntent, Action<INSpeakableStringResolutionResult>)

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

Applies to