Class StreamingTextEventReceiver
Inheritance
object
StreamingTextEventReceiver
Implements
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class StreamingTextEventReceiver : MonoBehaviour, IStreamingTextEventReceiver
Methods
OnReceiveError(string)
Invoked when text stream is interrupted.
Declaration
public void OnReceiveError(string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
string | errorMessage |
OnReceiveText(string)
Invoked when a partial text is received.
Declaration
public void OnReceiveText(string delta)
Parameters
Type | Name | Description |
---|---|---|
string | delta |
OnReceiveTextDone()
Invoked when the full text is finalized.
Declaration
public void OnReceiveTextDone()
OnReceiveTextStart()
Invoked when the text is received for the first time.
Declaration
public void OnReceiveTextStart()