OnDataReceived typedef

OnDataReceived = void Function(SttResponseData data)

Callback function called when speech-to-text data is received.

data contains the transcription result and metadata.

Implementation

typedef OnDataReceived = void Function(SttResponseData data);