peerListUpdated

open fun peerListUpdated(addedPeers: ArrayList<HMSPeer>?, removedPeers: ArrayList<HMSPeer>?)

Called when new peers are added to peerlist. Use this to show the list of peers on UI This is called with the intial set of peer on joining a room as well as with update list of peers if some peer joins or leaves the room

Parameters

addedPeers

List of HMSPeer to be added to the list

removedPeers

List of HMSPeer to be removed from the list