Our new developer documentation is now available. Please check it out!
OdinHandler.GetPeer
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
public Peer GetPeer(string roomId, ulong peerId)
Gets the a Peer object from a specified room matching a peer ID
Info
Local seen Peers only, not
Parameters
Name | Type | Description |
---|---|---|
roomId | String | Room identifier e.g name or token |
peerId | UInt64 | peer ID |
Returns
Type | Description |
---|---|
Peer | Peer or null |