Share via


GKMatch.ChooseBestHostingPlayerAsync Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<GameKit.GKPlayer> ChooseBestHostingPlayerAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>
override this.ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>

Returns

A task that represents the asynchronous ChooseBestHostingPlayer operation. The value of the TResult parameter is of type System.Action<GameKit.GKPlayer>.

Attributes

Remarks

The ChooseBestHostingPlayerAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to