Share via


IINSearchForPhotosIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation of a photo search.

[Foundation.Export("confirmSearchForPhotos:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INSearchForPhotosIntent intent, Action<Intents.INSearchForPhotosIntentResponse> completion);
[<Foundation.Export("confirmSearchForPhotos:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INSearchForPhotosIntent * Action<Intents.INSearchForPhotosIntentResponse> -> unit
override this.Confirm : 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