useRoom() : Object | null
Returns room, domain, and token configuration properties, or null if no room has been set for the call.
Return value
One of the following objects:- An object detailing information about the room that has been specified, but not yet joined
- An object detailing information about the current Daily room
room().