compareProfileWithAlternativeNameHints

fun compareProfileWithAlternativeNameHints(otherPlayerId: String, otherPlayerInGameName: String, currentPlayerInGameName: String)

Displays a screen where the user can see a comparison of their own profile against another player's profile.

Should be used when the game has its own player names separate from the Play Games Services gamer tag. These names will be used in the profile display and only sent to the server if the player initiates a friend invitation to the profile being viewed, so that the sender and recipient have context relevant to their game experience.

Parameters

otherPlayerId

The player ID of the player to compare with.

otherPlayerInGameName

The game's own display name of the player referred to by otherPlayerId.

currentPlayerInGameName

The game's own display name of the current player.