Share via


GKGameSession.CreateSessionAsync(String, String, IntPtr) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<GameKit.GKGameSession> CreateSessionAsync(string? containerName, string title, IntPtr maxPlayers);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateSessionAsync : string * string * nativeint -> System.Threading.Tasks.Task<GameKit.GKGameSession>

Parameters

containerName
String
title
String
maxPlayers
IntPtr

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>.

Attributes

Applies to