GKMatchmaker.FindPlayersForHostedRequestAsync(GKMatchRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds players for a hosted match request.
[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[]> FindPlayersForHostedRequestAsync (GameKit.GKMatchRequest request);
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.