object.getParticipantId()

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

Overview

Returns a string representing the participant ID of the given player. Can return nil if not found.

Syntax

object.getParticipantId( playerId )
playerId (required)

String. The ID of the player.