Editar

Compartir a través de


UIApplicationDelegate_Extensions.HandleIntent Method

Definition

The system is requesting that the application handle the specified intent.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void HandleIntent (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Intents.INIntent intent, Action<Intents.INIntentResponse> completionHandler);
static member HandleIntent : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Intents.INIntent * Action<Intents.INIntentResponse> -> unit

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

The application that created the intent.

intent
INIntent

The intent.

completionHandler
Action<INIntentResponse>

A handler to run after the operation completes.

Attributes

Applies to