Поделиться через


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>

Метод завершения, который должен вызываться переопределением.

Атрибуты

Применяется к