Class AudioRecordEvent

All Implemented Interfaces:
Jsonable

public final class AudioRecordEvent extends Event
Represents an EventType.AUDIO_RECORD event.
  • Method Details

    • getLanguage

      Text-to-speech transcription language.
      Returns:
      The transcription language as an enum, or null if unspecified.
    • getSentimentAnalysis

      Whether sentiment analysis is enabled.
      Returns:
      true if sentiment analysis is enabled, or null if transcription is not enabled.
    • getFormat

      public String getFormat()
      File format for the recording.
      Returns:
      The recording format as a string, or null if unspecified.
    • getValidity

      public Integer getValidity()
      The validity parameter.
      Returns:
      The validity as an integer, or null if unspecified.
    • getChannels

      public Integer getChannels()
      Number of channels for the recording.
      Returns:
      The number of channels as an Integer, or null if unspecified.
    • getStreamed

      public Boolean getStreamed()
      Whether the audio recording is streamed.
      Returns:
      true if the recording is streamed, or null if unspecified.
    • getSplit

      public Boolean getSplit()
      Whether the audio is split.
      Returns:
      true if the recording is split, or null if unspecified.
    • getMultitrack

      Whether the audio has multiple tracks.
      Returns:
      true if the recording is multi-track, or null if unspecified.
    • getDetectSpeech

      Whether to detect speech in the recording.
      Returns:
      true if speech detection is enabled, or null if unspecified.
    • getBeepStart

      Whether to enable beep start.
      Returns:
      true if beep start, or null if unspecified.
    • getBeepStop

      public Boolean getBeepStop()
      Whether to enable beep stop.
      Returns:
      true if beep stop, or null if unspecified.
    • builder

      Entry point for constructing an instance of this class.
      Returns:
      A new Builder.