SChat

Index

Functions Index

Function Name

void OnChat (Closure callback) void OnChat (Action< SChatMessage > trackInfoCallback)

void JoinChat (string name)

string GetXMPPName (string name)

void LeaveChat (string name)

SVoiceZone GetVoiceZone (string channel)

void JoinVoice (string channel, int priority=5, int spatial=0)

void JoinGridVoice (string channel, int priority=5, int spatial=0)

void LeaveVoice (string channel)

Functions

OnChat

void OnChat (Closure callback) void OnChat (Action< SChatMessage > trackInfoCallback)

Bind a function to the OnChat event. This function will be called every time a new chat message is received on the local channel.

Parameter
Type
Description

callback

Closure or Action

Invoked when a chat message is received

JoinChat

void JoinChat (string name)

Join a chat channel.

Parameter
Type
Description

name

string

Chat channel to join

GetXMPPName

string GetXMPPName (string name)

Get XMPP name.

Parameter
Type
Description

name

string

Human-readable chat name

LeaveChat

void LeaveChat (string name)

Leave a chat channel.

Parameter
Type
Description

name

string

Chat channel to leave

GetVoiceZone

SVoiceZone GetVoiceZone (string channel)

Get a reference to a voice zone component for the given channel.

Parameter
Type
Description

channel

string

Voice channel name/handle

JoinVoice

void JoinVoice (string channel, int priority=5, int spatial=0)

Join a voice chat channel.

Parameter
Type
Description

channel

string

Voice channel name/handle

priority

int

Optional. Priority, default 5

spatial

int

Optional. Spatialization flag (0/1), default 0

JoinGridVoice

void JoinGridVoice (string channel, int priority=5, int spatial=0)

JoinGridVoice is the same as JoinVoice except with a grid wide parameter. (white-label only)

Parameter
Type
Description

channel

string

Voice channel name/handle (grid-wide)

priority

int

Optional. Priority, default 5

spatial

int

Optional. Spatialization flag (0/1), default 0

LeaveVoice

void LeaveVoice (string channel)

Leave a voice chat channel

Parameter
Type
Description

channel

string

Voice channel to leave

Last updated

Was this helpful?