ApiApp().SetDiagOutput

Pushes the output onto the diagnostic output object’s FIFO stack.

Description

If the diagnostic output has been enabled (default), via the application, this method pushes the output of a string via the diagnostic output stack. Either the application or a script may poll and fetch diagnostic output via the getDiagOutput method. Note that the application, not the core, is responsible for handling the fetch and subsequent operations on such output.

Example Usage (C#)


bool success = _core.ApiApp().SetDiagOutput(“MYWARNINGuser response was incorrect.”);

Parameters

string

output

The string for diagnostic output.

Returns

The boolean success or failure of the operation

See Also

  • ApiApp().SetVoiceOutput
  • ApiApp().SetTextOutput
  • ApiApp().SetSocketOutput
  • ApiApp().DisableDiagOutput
  • ApiApp().GetDiagOutput
  • ApiApp().ClearDiagOutput