net9.0-ios
namespace GameKit
{
[ObsoletedOSPlatform("macos10.14", "Use 'GKLocalPlayerListener' instead.")]
[ObsoletedOSPlatform("tvos12.0", "Use 'GKLocalPlayerListener' instead.")]
[ObsoletedOSPlatform("ios12.0", "Use 'GKLocalPlayerListener' instead.")]
[ObsoletedOSPlatform("maccatalyst13.1", "Use 'GKLocalPlayerListener' instead.")]
[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:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public interface IGKGameSessionEventListener : INativeObject, IDisposable
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos6.0-tvos7.0-ios7.0-maccatalyst7.0-macos7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|