ApiApp().EnableSocketOutput

Enables or disables the attached socket output.

Description

In C#, you may set up your own socket output via direct scripting, or through a loaded and registered plugin. If a socket connection has been created and the appropriate function has been globally defined and attached to the silvia.socket table via the application, this function enables or disables the sending of the output to that socket. This function was originally implemented for LUA applications, support for LUA itself is deprecated.

Example Usage (C#)


_core.ApiApp().EnableSocketOutput(true);

Parameters

bool enabled The boolean flag to turn the feature on or off. The default setting is false.

Returns

None.

See Also

  • ApiApp().DisableTextOutput
  • ApiApp().DisableVoiceOutput
  • ApiApp().DisableDiagOutput
  • ApiApp().SetSocketOutput