Share via


GKMatchmaker.FindPlayersForHostedRequestAsync(GKMatchRequest) Method

Definition

Finds players for a hosted match request.

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

Parameters

request
GKMatchRequest

Returns

A task that represents the asynchronous FindPlayersForHostedRequest operation. The value of the TResult parameter is of type System.Action<GameKit.GKPlayer[],Foundation.NSError>.

Attributes

Remarks

The FindPlayersForHostedRequestAsync 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