---
title: GKPlayerConnectionState
framework: gamekit
role: symbol
role_heading: Enumeration
path: gamekit/gkplayerconnectionstate
---

# GKPlayerConnectionState

The possible states of a connection to a match.

## Declaration

```swift
enum GKPlayerConnectionState
```

## Topics

### States

- [GKPlayerConnectionState.unknown](gamekit/gkplayerconnectionstate/unknown.md)
- [GKPlayerConnectionState.connected](gamekit/gkplayerconnectionstate/connected.md)
- [GKPlayerConnectionState.disconnected](gamekit/gkplayerconnectionstate/disconnected.md)

### Initializers

- [init(rawValue:)](gamekit/gkplayerconnectionstate/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Receiving State Notifications About Other Players

- [match(_:player:didChange:)](gamekit/gkmatchdelegate/match(_:player:didchange:)-8ohgr.md)
