How i can access the contents of the room that ended

I was recently told that I can tell when a room ends using BroadcastReceiver

IntentFilter intentFilter = new IntentFilter();
Receiver receiver = new Receiver();
LocalBroadcastManager.getInstance(getActivity()).registerReceiver(receiver, intentFilter

and my class receiver

import android.content.*;

public class Receiver extends BroadcastReceiver {

    public void onReceive(Context context, Intent intent) {


But I would like to know which room it ended, is it possible?

Get the budnle of data in the intent, that’s where the room metadata is stored.