Initializer

init(playerIDs:)

Initializes a leaderboard request to retrieve the scores of a specific group of players.

Declaration

init?(playerIDs: [String]?)

Parameters

playerIDs

An array of NSString objects that holds the player identifier strings of the players to retrieve.

Return Value

An initialized leaderboard request.

Discussion

A leaderboard object initialized with this method ignores the playerScope and range properties. Instead, it retrieves scores for the specific list of players whose identifiers are included in the playerIDs parameter.

See Also

Deprecated Methods and Properties

var category: String?

The named leaderboard to retrieve information from.

Deprecated
class func setDefault(String?, withCompletionHandler: ((Error?) -> Void)?)

Sets the default leaderboard for the local player.

Deprecated
class func loadCategories(completionHandler: (([String]?, [String]?, Error?) -> Void)?)

Loads the list of leaderboard categories along with their corresponding localized titles.

Deprecated