code: public static ApiRoom getRoomAgent(Room sfsRoom) {
          Object roomAgent = sfsRoom.getProperty(APIKey.ROOM);
          if(roomAgent == null) 
              throw new RuntimeException("Can not get user agent");
          return (ApiRoom)roomAgent;
      }
docs: Get room agent object mapped to smartfox room object
  
  @param sfsRoom smartfox room object
  @return room agent object