Room.UpdatePeerUserDataAsync
public async Task<bool> UpdatePeerUserDataAsync(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 |
---|---|
Task<Boolean> | true if userdata was set for the peer or false |