IINIntentHandlerProviding.GetHandler(INIntent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers override this method to return the handler object if intent is one their extension can respond to.
[Foundation.Export("handlerForIntent:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject? GetHandler(Intents.INIntent intent);
[<Foundation.Export("handlerForIntent:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetHandler : Intents.INIntent -> Foundation.NSObject
override this.GetHandler : Intents.INIntent -> Foundation.NSObject
Parameters
Returns
The developer's handler object or null if intent is not handled by the extension.
- Attributes