getMeta
getMeta
- getMeta():
Promise<{meta:RoomSession.meta}>
Returns the metadata assigned to this Room Session.
Returns
Promise<{ meta: RoomSession.meta }>
A promise that resolves to a RoomSession.meta object containing the metadata assigned to this Room Session.
Example
In this example, we set metadata for a room as soon as it starts.
This example assumes that there is a RoomSession
already active and that members are joining the room.