Package com.opentok

Class RenderProperties.Builder

java.lang.Object
com.opentok.RenderProperties.Builder
Enclosing class:
RenderProperties

public static class RenderProperties.Builder extends Object
Builder for defining the parameters of RenderProperties.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • url

      public RenderProperties.Builder url(String url)
      URL of the customer service where the callbacks will be received.
      Parameters:
      url - The URL as a String.
      Returns:
      This Builder.
    • url

      public RenderProperties.Builder url(URI url)
      URL of the customer service where the callbacks will be received.
      Parameters:
      url - The URL as a URI.
      Returns:
      This Builder.
    • maxDuration

      public RenderProperties.Builder maxDuration(int maxDuration)
    • resolution

      public RenderProperties.Builder resolution(RenderProperties.Resolution resolution)
      Resolution of the display area for the composition.
      Parameters:
      resolution - The resolution, as an enum.
      Returns:
      This Builder.
    • properties

      public RenderProperties.Builder properties(RenderProperties.Properties properties)
      Initial configuration of Publisher properties for the composed output stream.
      Parameters:
      properties - The properties value.
      Returns:
      This Builder.
    • build

      public RenderProperties build()
      Builds the RenderProperties object.
      Returns:
      The RenderProperties object.