GKPeerConnectionState Enum
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.
An enumeration whose values specify the state of a peer-to-peer connection.
C#
[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
C#
[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
Name | Value | Description |
---|---|---|
Available | 0 | |
Unavailable | 1 | |
Connected | 2 | |
Disconnected | 3 | |
Connecting | 4 |
Product | Versions |
---|---|
Xamarin.Mac SDK | 14 |
- <xref:GameKit.GKSession.PeersWithConnectionState>
- <xref:GameKit.GKSessionDelegate.PeerChangedState>