INSendMessageIntentHandling_Extensions.ResolveRecipients Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INPersonResolutionResult[]>) |
Разработчики могут реализовать этот метод для настройки разрешения получателей сообщений. |
ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INSendMessageRecipientResolutionResult[]>) |
Разработчики могут реализовать этот метод для настройки разрешения получателей сообщений. |
ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INPersonResolutionResult[]>)
Разработчики могут реализовать этот метод для настройки разрешения получателей сообщений.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveRecipients (INSendMessageIntent, Action<INSendMessageRecipientResolutionResult []>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveRecipients (INSendMessageIntent, Action<INSendMessageRecipientResolutionResult []>)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveRecipients (INSendMessageIntent, Action<INSendMessageRecipientResolutionResult []>)' instead.")]
public static void ResolveRecipients (this Intents.IINSendMessageIntentHandling This, Intents.INSendMessageIntent intent, Action<Intents.INPersonResolutionResult[]> completion);
static member ResolveRecipients : Intents.IINSendMessageIntentHandling * Intents.INSendMessageIntent * Action<Intents.INPersonResolutionResult[]> -> unit
Параметры
Экземпляр, с которым работает этот метод.
- intent
- INSendMessageIntent
Указывает намерение пользователя.
- completion
- Action<INPersonResolutionResult[]>
Метод завершения, который должен вызываться переопределением.
- Атрибуты
Применяется к
ResolveRecipients(IINSendMessageIntentHandling, INSendMessageIntent, Action<INSendMessageRecipientResolutionResult[]>)
Разработчики могут реализовать этот метод для настройки разрешения получателей сообщений.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static void ResolveRecipients (this Intents.IINSendMessageIntentHandling This, Intents.INSendMessageIntent intent, Action<Intents.INSendMessageRecipientResolutionResult[]> completion);
static member ResolveRecipients : Intents.IINSendMessageIntentHandling * Intents.INSendMessageIntent * Action<Intents.INSendMessageRecipientResolutionResult[]> -> unit
Параметры
Экземпляр, с которым работает этот метод.
- intent
- INSendMessageIntent
Указывает намерение пользователя.
- completion
- Action<INSendMessageRecipientResolutionResult[]>
Метод завершения, который должен вызываться переопределением.
- Атрибуты