Share via


IGKSessionDelegate Interface

Definition

Delegate for the GKSession class.

[Foundation.Protocol(Name="GKSessionDelegate", WrapperType=typeof(GameKit.GKSessionDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerChangedState", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String), typeof(GameKit.GKPeerConnectionState) }, Selector="session:peer:didChangeState:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerConnectionRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String) }, Selector="session:didReceiveConnectionRequestFromPeer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerConnectionFailed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String), typeof(Foundation.NSError) }, Selector="session:connectionWithPeerFailed:withError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedWithError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(Foundation.NSError) }, Selector="session:didFailWithError:")]
public interface IGKSessionDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GKSessionDelegate", WrapperType=typeof(GameKit.GKSessionDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerChangedState", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String), typeof(GameKit.GKPeerConnectionState) }, Selector="session:peer:didChangeState:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerConnectionRequest", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String) }, Selector="session:didReceiveConnectionRequestFromPeer:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PeerConnectionFailed", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(System.String), typeof(Foundation.NSError) }, Selector="session:connectionWithPeerFailed:withError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedWithError", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(GameKit.GKSession), typeof(Foundation.NSError) }, Selector="session:didFailWithError:")>]
type IGKSessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Applies to

See also