Share via


IINSearchForPhotosIntentHandling.HandleSearchForPhotos Method

Definition

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

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

Parameters

intent
INSearchForPhotosIntent

Specifies the user's intention.

completion
Action<INSearchForPhotosIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to