Поделиться через


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)

Применяется к