Interface IRoom
Assembly: cs.temp.dll.dll
Properties
Id
Room id
Parent
Default value
null
indicates root or not set
IsJoined
The current room is initialized
CryptoCipher
Encryption handle container
Methods
Join(string)
Join a room
Returns
System.Boolean
: true on success
Parameters
Type | Name | Description |
---|---|---|
System.String | token | jwt to send |
Join(string, OdinCipherHandle)
Join a room with encryption
Returns
System.Boolean
: true on success
Parameters
Type | Name | Description |
---|---|---|
System.String | token | jwt to send |
Odin.OdinCipherHandle | cipher | crypto cipher |
GetBaseRoom<T>()
Get the underlying OdinNative.Wrapper.Room.Room
Returns
<T>
: native wrapper room##### Type Parameters
T
Events
OnRoomStatusChanged
Odin connection status
Event Type
OdinNative.Wrapper.OnRoomStatusChangedDelegate
OnRoomJoined
Odin room joined
Event Type
OdinNative.Wrapper.OnRoomJoinedDelegate
OnRoomLeft
Odin room left
Event Type
OdinNative.Wrapper.OnRoomLeftDelegate
OnPeerJoined
Odin peer joined
Event Type
OdinNative.Wrapper.OnPeerJoinedDelegate
OnPeerLeft
Odin peer left
Event Type
OdinNative.Wrapper.OnPeerLeftDelegate
OnMediaStarted
Odin media started
Event Type
OdinNative.Wrapper.OnMediaStartedDelegate
OnMediaStopped
Odin media stopped
Event Type
OdinNative.Wrapper.OnMediaStoppedDelegate
OnUserDataChanged
Odin peer changed userdata
Event Type
OdinNative.Wrapper.OnUserDataChangedDelegate
OnMessageReceived
Odin room received message