IGKGameSessionEventListener 接口

定义

[Foundation.Protocol(Name="GKGameSessionEventListener", WrapperType=typeof(GameKit.GKGameSessionEventListenerWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKGameSessionEventListener : IDisposable, ObjCRuntime.INativeObject
type IGKGameSessionEventListener = interface
    interface INativeObject
    interface IDisposable
属性
实现

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

DidAddPlayer(IGKGameSessionEventListener, GKGameSession, GKCloudPlayer)
DidChangeConnectionState(IGKGameSessionEventListener, GKGameSession, GKCloudPlayer, GKConnectionState)
DidReceiveData(IGKGameSessionEventListener, GKGameSession, NSData, GKCloudPlayer)
DidReceiveMessage(IGKGameSessionEventListener, GKGameSession, String, NSData, GKCloudPlayer)
DidRemovePlayer(IGKGameSessionEventListener, GKGameSession, GKCloudPlayer)
DidSaveData(IGKGameSessionEventListener, GKGameSession, GKCloudPlayer, NSData)

适用于