class Players extends Resource (View source)

The "players" collection of methods.

Typical usage is:

 $gamesManagementService = new Google\Service\GamesManagement(...);
 $players = $gamesManagementService->players;

Methods

hide(string $applicationId, string $playerId, array $optParams = [])

Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

unhide(string $applicationId, string $playerId, array $optParams = [])

Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

Details

hide(string $applicationId, string $playerId, array $optParams = [])

Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

(players.hide)

Parameters

string $applicationId

The application ID from the Google Play developer console.

string $playerId

A player ID. A value of me may be used in place of the authenticated player's ID.

array $optParams

Optional parameters.

Exceptions

Exception

unhide(string $applicationId, string $playerId, array $optParams = [])

Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

(players.unhide)

Parameters

string $applicationId

The application ID from the Google Play developer console.

string $playerId

A player ID. A value of me may be used in place of the authenticated player's ID.

array $optParams

Optional parameters.

Exceptions

Exception