Düzenle

Aracılığıyla paylaş


IINIntentHandlerProviding.GetHandler(INIntent) Method

Definition

Developers override this method to return the handler object if intent is one their extension can respond to.

[Foundation.Export("handlerForIntent:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSObject GetHandler (Intents.INIntent intent);
abstract member GetHandler : Intents.INIntent -> Foundation.NSObject

Parameters

intent
INIntent

The INIntent received by the system.

Returns

The developer's handler object or null if intent is not handled by the extension.

Attributes

Applies to