UIApplicationDelegate.HandleIntent Method

Definition

The system is requesting that the application handle the specified 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

Parameters

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