Protocol

GKLocalPlayerListener

A protocol that handles events for Game Center accounts.

Declaration

protocol GKLocalPlayerListener

Overview

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

See Also

Players

class GKLocalPlayer

An object representing the authenticated Game Center player on a device.

class GKPlayer

An object that provides information about a player on Game Center.

class GKBasePlayer

The top-level player object containing basic identifying information for a player.

protocol GKInviteEventListener

A protocol that handles invite events from Game Center.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software