Interface MedicalTranscript.Builder

    • Method Detail

      • results

        MedicalTranscript.Builder results​(Collection<MedicalResult> 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

        MedicalTranscript.Builder results​(MedicalResult... 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

        MedicalTranscript.Builder results​(Consumer<MedicalResult.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 MedicalResult.Builder avoiding the need to create one manually via MedicalResult.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 MedicalResult.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #results(java.util.Collection)