object.getParticipantId()

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

Overview

Returns a string representing the participant ID of the given player, or nil if not found.

Syntax

object.getParticipantId( playerId )
playerId (required)

String. The ID of the player.