Поделиться через


INSearchForPhotosIntentHandling_Extensions.ResolveSearchTerms Метод

Определение

Разработчики могут реализовать этот метод для настройки разрешения условий поиска.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void ResolveSearchTerms (this Intents.IINSearchForPhotosIntentHandling This, Intents.INSearchForPhotosIntent intent, Action<Intents.INStringResolutionResult[]> completion);
static member ResolveSearchTerms : Intents.IINSearchForPhotosIntentHandling * Intents.INSearchForPhotosIntent * Action<Intents.INStringResolutionResult[]> -> unit

Параметры

This
IINSearchForPhotosIntentHandling

Экземпляр, с которым работает этот метод.

intent
INSearchForPhotosIntent

Указывает намерение пользователя.

completion
Action<INStringResolutionResult[]>

Метод завершения, который должен вызываться переопределением.

Атрибуты

Применяется к