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

参数

This
IINSendMessageIntentHandling

此方法在其上运行的实例。

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

参数

This
IINSendMessageIntentHandling

此方法在其上运行的实例。

intent
INSendMessageIntent

指定用户的意图。

completion
Action<INSendMessageRecipientResolutionResult[]>

必须由替代调用的完成方法。

属性

适用于