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

OdinRoom.constructor

var odinroom = new OdinRoom(token: string)

Creates a new instance of a room with a token. Use OdinClient if you don’t want to manage tokens yourself. Important: Don’t use this function directly, use OdinClient instead.

Parameters

NameTypeDescription
tokenstringThe token to use for this room.

See also

OdinRoom