GKGameSession.AddEventListener(IGKGameSessionEventListener) Method

Definition

[Foundation.Export("addEventListener:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' instead.")]
public static void AddEventListener (GameKit.IGKGameSessionEventListener listener);
static member AddEventListener : GameKit.IGKGameSessionEventListener -> unit

Parameters

Attributes

Applies to