---
title: GKLocalPlayerListener
framework: gamekit
role: symbol
role_heading: Protocol
path: gamekit/gklocalplayerlistener
---

# GKLocalPlayerListener

A protocol that handles events for Game Center players.

## Declaration

```swift
protocol GKLocalPlayerListener : GKChallengeListener, GKGameActivityListener, GKInviteEventListener, GKSavedGameListener, GKTurnBasedEventListener
```

```swift
protocol GKLocalPlayerListener : GKChallengeListener, GKInviteEventListener, GKTurnBasedEventListener
```

## Mentioned in

Finding multiple players for a game Saving the player’s game data to an iCloud account Starting turn-based matches and passing turns between players

## Overview

Overview Adopt the GKLocalPlayerListener protocol to listen for and handle a variety of Game Center events for player accounts instead of the individual GKChallengeListener, GKInviteEventListener, GKSavedGameListener, and GKTurnBasedEventListener protocols.

## Relationships

### Inherits From

- [GKChallengeListener](gamekit/gkchallengelistener.md)
- [GKGameActivityListener](gamekit/gkgameactivitylistener.md)
- [GKInviteEventListener](gamekit/gkinviteeventlistener.md)
- [GKSavedGameListener](gamekit/gksavedgamelistener.md)
- [GKTurnBasedEventListener](gamekit/gkturnbasedeventlistener.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Players

- [Connecting players with their friends in your game](gamekit/connecting-players-with-their-friends-in-your-game.md)
- [Saving the player’s game data to an iCloud account](gamekit/saving-the-player-s-game-data-to-an-icloud-account.md)
- [Protecting the player’s privacy using scoped identifiers](gamekit/protecting-the-player-s-privacy-using-scoped-identifiers.md)
- [GKLocalPlayer](gamekit/gklocalplayer.md)
- [GKPlayer](gamekit/gkplayer.md)
- [GKBasePlayer](gamekit/gkbaseplayer.md)
- [GKPlayerAuthenticationDidChangeNotificationName](foundation/nsnotification/name-swift.struct/gkplayerauthenticationdidchangenotificationname.md)
- [GKPlayerDidChangeNotificationName](foundation/nsnotification/name-swift.struct/gkplayerdidchangenotificationname.md)
