Bearbeiten

Freigeben über


GKGameSession.CreateSessionAsync(String, String, nint) Method

Definition

public static System.Threading.Tasks.Task<GameKit.GKGameSession> CreateSessionAsync (string containerName, string title, nint maxPlayers);
static member CreateSessionAsync : string * string * nint -> System.Threading.Tasks.Task<GameKit.GKGameSession>

Parameters

containerName
String
title
String
maxPlayers
System.System.IntPtr System.nativeint

Returns

A task that represents the asynchronous CreateSession operation. The value of the TResult parameter is of type System.Action<GameKit.GKGameSession,Foundation.NSError>.

Applies to