object.getMainOpponentParticipantId()

Type Function
Return value String
Revision 2017.3060
Keywords Google Play Games Services, game network, gpgs, Match, getMainOpponentParticipantId
See also Match
gpgs.multiplayer
gpgs.*

Overview

Returns a string representing the ID of another participant in the match who is considered the most relevant opponent to the current player.

Syntax

object.getMainOpponentParticipantId()