INSendMessageIntentHandling_Extensions.ResolveGroupName 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“ResolveSpeakableGroupName”。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveSpeakableGroupName' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveSpeakableGroupName' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ResolveSpeakableGroupName' instead.")]
public static void ResolveGroupName (this Intents.IINSendMessageIntentHandling This, Intents.INSendMessageIntent intent, Action<Intents.INStringResolutionResult> completion);
static member ResolveGroupName : Intents.IINSendMessageIntentHandling * Intents.INSendMessageIntent * Action<Intents.INStringResolutionResult> -> unit

参数

This
IINSendMessageIntentHandling

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

intent
INSendMessageIntent

指定用户的意图。

completion
Action<INStringResolutionResult>

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

属性

适用于