<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKPlayerConnectionState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:@E@GKPlayerConnectionState"
  },
  "title" : "GKPlayerConnectionState"
}
-->

# GKPlayerConnectionState

The possible states of a connection to a match.

```
enum GKPlayerConnectionState
```

## Topics

### States

[`GKPlayerStateUnknown`](/documentation/GameKit/GKPlayerConnectionState/unknown)

An undetermined state in which the player can’t receive data.

[`GKPlayerStateConnected`](/documentation/GameKit/GKPlayerConnectionState/connected)

A state in which a player connects to the match and can receive data.

[`GKPlayerStateDisconnected`](/documentation/GameKit/GKPlayerConnectionState/disconnected)

A state in which a player disconnects from the match and can’t receive data.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)