---
title: GKInviteEventListener
framework: gamekit
role: symbol
role_heading: Protocol
path: gamekit/gkinviteeventlistener
---

# GKInviteEventListener

A protocol that handles invite events from Game Center.

## Declaration

```swift
protocol GKInviteEventListener
```

## Mentioned in

Finding multiple players for a game

## Overview

Overview Implement the methods in the GKInviteEventListener protocol to accept invitations from other players or handle when other players accept invitations from the local player. 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. For details, see Finding multiple players for a game.

## Topics

### Starting a New Match

- [player(_:didAccept:)](gamekit/gkinviteeventlistener/player(_:didaccept:).md)
- [player(_:didRequestMatchWithRecipients:)](gamekit/gkinviteeventlistener/player(_:didrequestmatchwithrecipients:).md)
- [player(_:didRequestMatchWithPlayers:)](gamekit/gkinviteeventlistener/player(_:didrequestmatchwithplayers:).md)

## Relationships

### Inherited By

- [GKLocalPlayerListener](gamekit/gklocalplayerlistener.md)

## See Also

### Real-time games

- [Creating real-time games](gamekit/creating-real-time-games.md)
- [Finding multiple players for a game](gamekit/finding-multiple-players-for-a-game.md)
- [Exchanging data between players in real-time games](gamekit/exchanging-data-between-players-in-real-time-games.md)
- [Adding voice chat to multiplayer games](gamekit/adding-voice-chat-to-multiplayer-games.md)
- [Finding players for custom server-based games](gamekit/finding-players-for-custom-server-based-games.md)
- [Matchmaking rules](gamekit/matchmaking-rules.md)
- [GKMatchRequest](gamekit/gkmatchrequest.md)
- [GKMatchmaker](gamekit/gkmatchmaker.md)
- [GKMatchmakerViewController](gamekit/gkmatchmakerviewcontroller.md)
- [GKInvite](gamekit/gkinvite.md)
- [GKMatch](gamekit/gkmatch.md)
