getPeerById

fun getPeerById(peerId: String): HMSPeer?

Given a peerId, returns the HMSPeer for that peerId.

Return

the HMSPeer associated with the peer id. Null if not present.

Parameters

peerId

the peerId of the requested HMSPeer.