Share via


GKMatchmaker.AddPlayersAsync(GKMatch, GKMatchRequest) Method

Definition

Adds the players in the match request to the match.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task AddPlayersAsync(GameKit.GKMatch toMatch, GameKit.GKMatchRequest matchRequest);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddPlayersAsync : GameKit.GKMatch * GameKit.GKMatchRequest -> System.Threading.Tasks.Task
override this.AddPlayersAsync : GameKit.GKMatch * GameKit.GKMatchRequest -> System.Threading.Tasks.Task

Parameters

toMatch
GKMatch
matchRequest
GKMatchRequest

Returns

A task that represents the asynchronous AddPlayers operation

Attributes

Applies to