iOS Developer Library

Developer

GameKit Framework Reference GKLocalPlayerListener Protocol Reference

Options
Deployment Target:

On This Page
Language:

GKLocalPlayerListener

Inherits From


Not Applicable

Import Statement


Swift

import GameKit

Objective-C

@import GameKit;

Availability


Available in iOS 7.0 and later

The GKLocalPlayerListener protocol inherits the methods from GKChallengeListener, GKInviteEventListener, and GKTurnBasedEventListener in order to handle multiple events.

Do not implement GKChallengeListener, GKInviteEventListener, and GKTurnBasedEventListener directly; implement GKLocalPlayerListener instead. You can listen for and handle multiple events using GKLocalPlayerListener.