The following example uses a RoomSnapshot to retrieve a record of information about a single room currently deployed on tryunion.com (Union's public testing server):
Union "snapshots" provide a traditional request/response mechanism for retrieving data on demand from Union Server. Snapshot data is not automatically synchronized with Union Server; instead snapshots are updated only when Orbiter's updateSnapshot() method is called (i.e., via "client pull" rather than "server push").
For an automatically synchronized room record, use RoomManager's observeRoom() or joinRoom() methods or Room's observe() or join() methods (not shown in this example) instead of RoomSnapshot.
Here is the code for the preceeding example. Click the "+" button to edit it live on JSFiddle.