GKGameSession.CreateSessionAsync(String, String, nint) 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.
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>.