Use room.getHistoryID();