GKMatch.ChooseBestHostingPlayerAsync 方法

定义

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GameKit.GKPlayer> ChooseBestHostingPlayerAsync ();
abstract member ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>
override this.ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>

返回

表示异步 ChooseBestHostingPlayer 操作的任务。 TResult 参数的值的类型为 System.Action<GameKit.GKPlayer>。

属性

注解

ChooseBestHostingPlayerAsync 方法适合与 C# 异步一起使用,方法是将控件返回到具有表示操作的 Task 的调用方。

内容待定。

适用于