Editar

Compartir a través de


IINRequestRideIntentHandling Interface

Definition

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

[Foundation.Protocol(Name="INRequestRideIntentHandling", WrapperType=typeof(Intents.INRequestRideIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, 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 IINRequestRideIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINRequestRideIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleRequestRide(INRequestRideIntent, Action<INRequestRideIntentResponse>)

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

Extension Methods

ConfirmRequestRide(IINRequestRideIntentHandling, INRequestRideIntent, Action<INRequestRideIntentResponse>)

Developers may override this method to customize the confirmation of a ride request.

ResolveDropOffLocation(IINRequestRideIntentHandling, INRequestRideIntent, Action<INPlacemarkResolutionResult>)

Developers may override this method to customize the resolution of the dropoff location.

ResolvePartySize(IINRequestRideIntentHandling, INRequestRideIntent, Action<INIntegerResolutionResult>)

Developers may override this method to customize the resolution of the number of passengers in the party.

ResolvePickupLocation(IINRequestRideIntentHandling, INRequestRideIntent, Action<INPlacemarkResolutionResult>)

Developers may override this method to customize the resolution of the pickup location.

ResolveRideOptionName(IINRequestRideIntentHandling, INRequestRideIntent, Action<INSpeakableStringResolutionResult>)

Developers may override this method to customize the resolution of options related to the ride.

ResolveScheduledPickupTime(IINRequestRideIntentHandling, INRequestRideIntent, Action<INDateComponentsRangeResolutionResult>)

Developers may implement this to customize resolution of scheduled pickup times.

Applies to