updateMeta
updateMeta
- updateMeta(
meta):Promise<void>
Updates the RoomSession metadata by only setting the specified fields. This is different from setMeta, which replaces the whole metadata object.
Parameters
meta
The update to the metadata.
Returns
Promise<void>
Example
In this example, we set metadata for a room as soon as it starts and then
update the metadata for that room after 5 seconds. This example assumes that
there is a RoomSession already active and
that members are joining the room.