編輯

共用方式為


IINSearchForPhotosIntentHandling.HandleSearchForPhotos Method

Definition

Developers must override this method and invoke the T:System.Action`1 with an INSearchForPhotosIntentResponse appropriate to the INSearchForPhotosIntent intent.

[Foundation.Export("handleSearchForPhotos:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleSearchForPhotos (Intents.INSearchForPhotosIntent intent, Action<Intents.INSearchForPhotosIntentResponse> completion);
abstract member 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