INStartAudioCallIntentHandling_Extensions.ResolveDestinationType 方法

定义

开发人员可以实现此方法来自定义目标类型的解析。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void ResolveDestinationType (this Intents.IINStartAudioCallIntentHandling This, Intents.INStartAudioCallIntent intent, Action<Intents.INCallDestinationTypeResolutionResult> completion);
static member ResolveDestinationType : Intents.IINStartAudioCallIntentHandling * Intents.INStartAudioCallIntent * Action<Intents.INCallDestinationTypeResolutionResult> -> unit

参数

This
IINStartAudioCallIntentHandling

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

intent
INStartAudioCallIntent

指定用户的意图。

completion
Action<INCallDestinationTypeResolutionResult>

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

属性

适用于