Developer Documentation

Room.UpdatePeerUserData

public bool UpdatePeerUserData(IUserData userData)

Updates the user data for our own peer. The server will populate this data to all other visible peers in the same room.

Parameters

NameTypeDescription
userDataIUserDataUserdata to send

Returns

TypeDescription
Booleantrue if userdata was set for the peer or false