onPresenterChanged

open fun onPresenterChanged(presenterId: String?)

Called when someone starts or stops sharing their screen. Room.getActivePresenterId reads the same value later.

Parameters

presenterId

the participant now presenting, or null once sharing has stopped. A Room.changeMode that closes an active share also reports null.