IGKSessionDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |