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


GKMatch.ChooseBestHostPlayerAsync Метод

Определение

Разработчики не должны использовать этот устаревший метод. Вместо этого разработчикам следует использовать "ChooseBestHostingPlayer".

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ChooseBestHostingPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'ChooseBestHostingPlayer' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<string> ChooseBestHostPlayerAsync ();
abstract member ChooseBestHostPlayerAsync : unit -> System.Threading.Tasks.Task<string>
override this.ChooseBestHostPlayerAsync : unit -> System.Threading.Tasks.Task<string>

Возвращаемое значение

Задача, представляющая асинхронную операцию ChooseBestHostPlayer. Значение параметра TResult имеет тип System.Action<System.String>.

Атрибуты

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