Compartir a través de


GKMatch.ChooseBestHostingPlayerAsync Método

Definición

[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>

Devoluciones

Tarea que representa la operación ChooseBestHostingPlayer asincrónica. El valor del parámetro TResult es de tipo System.Action<GameKit.GKPlayer>.

Atributos

Comentarios

El método ChooseBestHostingPlayerAsync es adecuado para usarse con Async de C# devolviendo el control al autor de la llamada con una tarea que representa la operación.

Se agregará.

Se aplica a