xamarinmac
namespace GameKit
{
[Deprecated(PlatformName.MacOSX, 10, 14, PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[Deprecated(PlatformName.TvOS, 12, 0, PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[Deprecated(PlatformName.iOS, 12, 0, PlatformArchitecture.None, "Use 'GKLocalPlayerListener' instead.")]
[Introduced(PlatformName.iOS, 10, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 12, PlatformArchitecture.All, null)]
[Introduced(PlatformName.TvOS, 10, 0, PlatformArchitecture.All, null)]
[Protocol(Name = "GKGameSessionEventListener", WrapperType = typeof(GKGameSessionEventListenerWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAddPlayer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(GKCloudPlayer) }, Selector = "session:didAddPlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRemovePlayer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(GKCloudPlayer) }, Selector = "session:didRemovePlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeConnectionState", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(GKCloudPlayer), typeof(GKConnectionState) }, Selector = "session:player:didChangeConnectionState:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSaveData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(GKCloudPlayer), typeof(NSData) }, Selector = "session:player:didSaveData:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(NSData), typeof(GKCloudPlayer) }, Selector = "session:didReceiveData:fromPlayer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveMessage", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(GKGameSession), typeof(string), typeof(NSData), typeof(GKCloudPlayer) }, Selector = "session:didReceiveMessage:withData:fromPlayer:")]
[Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
public interface IGKGameSessionEventListener : INativeObject, IDisposable
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarinmac | |
Assembly | Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |