Share via


IINSearchForAccountsIntentHandling.HandleSearchForAccounts Method

Definition

Developers must override this method and invoke the Action<T> with an INSearchForAccountsIntentResponse appropriate to the INSearchForAccountsIntent intent.

[Foundation.Export("handleSearchForAccounts:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleSearchForAccounts(Intents.INSearchForAccountsIntent intent, Action<Intents.INSearchForAccountsIntentResponse> completion);
[<Foundation.Export("handleSearchForAccounts:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleSearchForAccounts : Intents.INSearchForAccountsIntent * Action<Intents.INSearchForAccountsIntentResponse> -> unit
override this.HandleSearchForAccounts : Intents.INSearchForAccountsIntent * Action<Intents.INSearchForAccountsIntentResponse> -> unit

Parameters

intent
INSearchForAccountsIntent

Specifies the user's intention.

completion
Action<INSearchForAccountsIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to