共用方式為


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[]>

覆寫必須呼叫的完成方法。

屬性

適用於