# Room

Properties

int clientID

int? Normal.Realtime.Room.clientID

bool connected

bool Normal.Realtime.Room.connected

bool connecting

bool Normal.Realtime.Room.connecting

ConnectionState connectionState

ConnectionState Normal.Realtime.Room.connectionState

Datastore datastore

Datastore Normal.Realtime.Room.datastore

double datastoreFrameDuration

double Normal.Realtime.Room.datastoreFrameDuration

bool debugLogging

bool? Normal.Realtime.Room.debugLogging

bool disconnected

bool Normal.Realtime.Room.disconnected

Realtime realtime

Realtime Normal.Realtime.Room.realtime

double time

double Normal.Realtime.Room.time

Methods

void Connect (string roomName, string appKey, IModel roomModel=null)

void Normal.Realtime.Room.Connect

delegate void ConnectionStateChanged (Room room, ConnectionState previousConnectionState, ConnectionState connectionState)

delegate void Normal.Realtime.Room.ConnectionStateChanged

AudioInputStream CreateAudioInputStream (bool voice, int sampleRate, int channels)

AudioInputStream Normal.Realtime.Room.CreateAudioInputStream

void Disconnect ()

void Normal.Realtime.Room.Disconnect

AudioOutputStream GetAudioOutputStream (int clientID, int streamID)

AudioOutputStream Normal.Realtime.Room.GetAudioOutputStream

NetworkInfo GetNetworkStatistics ()

NetworkInfo Normal.Realtime.Room.GetNetworkStatistics

Room ()

Normal.Realtime.Room.Room

Room (SessionCapture sessionCapture)

Normal.Realtime.Room.Room

delegate void RPCMessageReceived (Room room, byte[] data, bool reliable)

delegate void Normal.Realtime.Room.RPCMessageReceived

bool SendRPCMessage (byte[] data, bool reliable)

bool Normal.Realtime.Room.SendRPCMessage

bool SendRPCMessage (byte[] data, int dataLength, bool reliable)

bool Normal.Realtime.Room.SendRPCMessage

void Tick (double deltaTime)

void Normal.Realtime.Room.Tick

Events

ConnectionStateChanged connectionStateChanged

ConnectionStateChanged Normal.Realtime.Room.connectionStateChanged

RPCMessageReceived rpcMessageReceived

RPCMessageReceived Normal.Realtime.Room.rpcMessageReceived