Class LiveEventTranscription

java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventTranscription

public final class LiveEventTranscription extends Object
Describes the transcription tracks in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
  • Constructor Details

    • LiveEventTranscription

      public LiveEventTranscription()
      Creates an instance of LiveEventTranscription class.
  • Method Details

    • language

      public String language()
      Get the language property: Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages.
      Returns:
      the language value.
    • withLanguage

      public LiveEventTranscription withLanguage(String language)
      Set the language property: Specifies the language (locale) to be used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format (e.g: 'en-US'). See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature and the list of supported languages.
      Parameters:
      language - the language value to set.
      Returns:
      the LiveEventTranscription object itself.
    • inputTrackSelection

      public List<LiveEventInputTrackSelection> inputTrackSelection()
      Get the inputTrackSelection property: Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
      Returns:
      the inputTrackSelection value.
    • withInputTrackSelection

      public LiveEventTranscription withInputTrackSelection(List<LiveEventInputTrackSelection> inputTrackSelection)
      Set the inputTrackSelection property: Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied. This property is reserved for future use, any value set on this property will be ignored.
      Parameters:
      inputTrackSelection - the inputTrackSelection value to set.
      Returns:
      the LiveEventTranscription object itself.
    • outputTranscriptionTrack

      public LiveEventOutputTranscriptionTrack outputTranscriptionTrack()
      Get the outputTranscriptionTrack property: Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
      Returns:
      the outputTranscriptionTrack value.
    • withOutputTranscriptionTrack

      public LiveEventTranscription withOutputTranscriptionTrack(LiveEventOutputTranscriptionTrack outputTranscriptionTrack)
      Set the outputTranscriptionTrack property: Describes a transcription track in the output of a live event, generated using speech-to-text transcription. This property is reserved for future use, any value set on this property will be ignored.
      Parameters:
      outputTranscriptionTrack - the outputTranscriptionTrack value to set.
      Returns:
      the LiveEventTranscription object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.