Compartilhar via


CPApplicationDelegate.HandleIntent Método

Definição

O sistema está solicitando que o aplicativo manipule o 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

O aplicativo que criou a intenção.

intent
INIntent

A intenção.

completionHandler
Action<INIntentResponse>

Um manipulador a ser executado após a conclusão da operação.

Atributos

Aplica-se a