Edit

Share via


GKPeerConnectionState Enum

Definition

An enumeration whose values specify the state of a peer-to-peer connection.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, null)]
public enum GKPeerConnectionState
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public enum GKPeerConnectionState
type GKPeerConnectionState = 
Inheritance
GKPeerConnectionState
Attributes

Fields

Available 0
Connected 2
Connecting 4
Disconnected 3
Unavailable 1

Applies to

See also

  • <xref:GameKit.GKSession.PeersWithConnectionState>
  • <xref:GameKit.GKSessionDelegate.PeerChangedState>