Interface Transcript.Builder

    • Method Detail

      • results

        Transcript.Builder results​(Collection<Result> results)

        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:
        results - 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.
      • results

        Transcript.Builder results​(Result... results)

        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:
        results - 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.
      • results

        Transcript.Builder results​(Consumer<Result.Builder>... results)

        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 Result.Builder avoiding the need to create one manually via Result.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #results(List).

        Parameters:
        results - a consumer that will call methods on Result.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #results(java.util.Collection)