public Room JoinRoom(string token, uint samplerate, bool stereo, bool handleRoom = true)
public Room JoinRoom(string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo, bool handleRoom = true)
Create and join a Room
Parameters#
Name | Type | Description |
---|
token | String | token |
samplerate | UInt32 | |
stereo | Boolean | |
handleRoom | Boolean | true will add the room to of the client |
roomName | String | room alias |
userData | Byte[] | initial userdata |
positionX | Single | server culling position X |
positionY | Single | server culling position Y |
positionZ | Single | |
Returns#
Type | Description |
---|
Room | room or null |
Variants#
JoinRoom(token, samplerate, stereo, handleRoom)#
public Room JoinRoom(string token, uint samplerate, bool stereo, bool handleRoom = true)
Create and join a Room
Parameters#
Name | Type | Description |
---|
token | String | token |
samplerate | UInt32 | |
stereo | Boolean | |
handleRoom | Boolean | true will add the room to of the client |
Returns#
Type | Description |
---|
Room | room or null |
JoinRoom(token, roomName, userData, positionX, positionY, positionZ, samplerate, stereo, handleRoom)#
public Room JoinRoom(string token, string roomName, byte[] userData, float positionX, float positionY, float positionZ, uint samplerate, bool stereo, bool handleRoom = true)
Create and join a Room
Parameters#
Name | Type | Description |
---|
token | String | token |
roomName | String | room alias |
userData | Byte[] | initial userdata |
positionX | Single | server culling position X |
positionY | Single | server culling position Y |
positionZ | Single | |
samplerate | UInt32 | |
stereo | Boolean | |
handleRoom | Boolean | true will add the room to of the client |
Returns#
Type | Description |
---|
Room | room or null |