Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinHandler.GetPeers

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 IEnumerable<Peer> GetPeers(string roomId, bool includeSelf = false)

Get all remote peers inside a room

Parameters

NameTypeDescription
roomIdStringRoom identifier e.g name or token
includeSelfBooleanoptionally include Self in peers result

Returns

TypeDescription
IEnumerable<Peer>IEnumerable of RemotePeers