Share via


GKGameSession.LoadSessionsAsync(String) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<GameKit.GKGameSession[]> LoadSessionsAsync(string? containerName);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LoadSessionsAsync : string -> System.Threading.Tasks.Task<GameKit.GKGameSession[]>

Parameters

containerName
String

Returns

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

Attributes

Applies to