Class CaptionsRequest

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.CaptionsRequest
All Implemented Interfaces:
Jsonable

public final class CaptionsRequest extends JsonableBaseObject
Defines the captioning properties used in VideoClient.startCaptions(CaptionsRequest).
Since:
8.5.0
  • Method Details

    • getStatusCallbackUrl

      A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.
      Returns:
      The status callback URL, or null if not set.
    • getLanguageCode

      Spoken language used on this call in BCP-47 format.
      Returns:
      The language code as an enum.
    • getMaxDuration

      The maximum duration for the audio captioning, in seconds.
      Returns:
      The maximum captioning duration as an integer.
    • partialCaptions

      Whether faster captioning is enabled at the cost of some degree of inaccuracies.
      Returns:
      true if the partial captions setting is enabled.
    • builder

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

      public String getSessionId()
      Unique identifier of the Vonage Video session.
      Returns:
      The session ID as a string.
    • getToken

      public String getToken()
      JSON Web Token with the appropriate roles for this request.
      Returns:
      The Base64-encoded JWT as a string.