net9.0-ios
namespace GameKit
{
[ObsoletedOSPlatform("ios7.0", "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObsoletedOSPlatform("macos10.10", "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObsoletedOSPlatform("maccatalyst13.1", "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[Protocol(Name = "GKSessionDelegate", WrapperType = typeof(GKSessionDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PeerChangedState", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKSession), typeof(string), typeof(GKPeerConnectionState) }, Selector = "session:peer:didChangeState:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PeerConnectionRequest", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(GKSession), typeof(string) }, Selector = "session:didReceiveConnectionRequestFromPeer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PeerConnectionFailed", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(GKSession), typeof(string), typeof(NSError) }, Selector = "session:connectionWithPeerFailed:withError:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedWithError", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(GKSession), typeof(NSError) }, Selector = "session:didFailWithError:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("tvos")]
public interface IGKSessionDelegate : INativeObject, IDisposable
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos7.0-ios7.0-maccatalyst7.0-macos8.0-ios8.0-maccatalyst8.0-macos9.0-ios9.0-maccatalyst9.0-macos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|