次の方法で共有


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 メソッドは、操作を表す Task を使用して呼び出し元に制御を返すことで、C# 非同期で使用するのに適しています。

追加する。

適用対象