Interface TranscriptEvent.Builder

  • Method Details

    • transcript

      TranscriptEvent.Builder transcript(Transcript transcript)

      Contains Results, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.

      Parameters:
      transcript - Contains Results, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transcript

      default TranscriptEvent.Builder transcript(Consumer<Transcript.Builder> transcript)

      Contains Results, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.

      This is a convenience method that creates an instance of the Transcript.Builder avoiding the need to create one manually via Transcript.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transcript(Transcript).

      Parameters:
      transcript - a consumer that will call methods on Transcript.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: