Share via


GKGameSession.RemoveEventListener(IGKGameSessionEventListener) 方法

定义

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

参数

属性

适用于