object.getMainOpponentParticipantId()

Type Function
Return value String
Revision Release 2024.3703
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()