다음을 통해 공유


GKPeerConnectionState 열거형

정의

해당 값이 피어 투 피어 연결의 상태를 지정하는 열거형입니다.

[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 = 
상속
GKPeerConnectionState
특성

필드

Available 0
Connected 2
Connecting 4
Disconnected 3
Unavailable 1

적용 대상

추가 정보

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