Share via


CPApplicationDelegate.HandleIntent Método

Definición

El sistema solicita que la aplicación controle el especificado intent.

[Foundation.Export("application:handleIntent:completionHandler:")]
[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 virtual void HandleIntent (UIKit.UIApplication application, Intents.INIntent intent, Action<Intents.INIntentResponse> completionHandler);
abstract member HandleIntent : UIKit.UIApplication * Intents.INIntent * Action<Intents.INIntentResponse> -> unit
override this.HandleIntent : UIKit.UIApplication * Intents.INIntent * Action<Intents.INIntentResponse> -> unit

Parámetros

application
UIApplication

Aplicación que creó la intención.

intent
INIntent

Intención.

completionHandler
Action<INIntentResponse>

Controlador que se va a ejecutar una vez completada la operación.

Atributos

Se aplica a