StreamingCallback

  • StreamingCallback is a callback function designed to receive streaming results.

  • The interface includes an abstract method onNewText which is called when new text becomes available during streaming.

  • The onNewText method takes a String parameter named additionalText which represents the newly available text.

public interface StreamingCallback

Callback function to receive a streaming result.

Public Method Summary

abstract void
onNewText ( String additionalText)
Called when a new text is available.

Public Methods

public abstract void onNewText ( String additionalText)

Called when a new text is available.

Parameters
additionalText
the new text.
Design a Mobile Site
View Site in Mobile | Classic
Share by: