GKPeerConnectionState 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉,其值指定對等連線的狀態。
[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
- 屬性
欄位
名稱 | 值 | Description |
---|---|---|
Available | 0 | |
Unavailable | 1 | |
Connected | 2 | |
Disconnected | 3 | |
Connecting | 4 |
適用於
另請參閱
- <xref:GameKit.GKSession.PeersWithConnectionState>
- <xref:GameKit.GKSessionDelegate.PeerChangedState>