Our new developer documentation is now available. Please check it out!
Room.UpdatePeerUserData
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
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
Name | Type | Description |
---|---|---|
userData | IUserData | Userdata to send |
Returns
Type | Description |
---|---|
Boolean | true if userdata was set for the peer or false |