CPApplicationDelegate.HandleIntent Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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