com.opentok.RenderProperties.Builder
Enclosing class: : RenderProperties
public static class RenderProperties.Builder extends Object
Builder for defining the parameters of RenderProperties.
Constructor Summary
Constructors
Constructor
Description
Builder()
Method Summary
All MethodsInstance MethodsConcrete Methods
Modifier and Type
Method
Description
RenderProperties
build()
Builds the RenderProperties object.
RenderProperties.Builder
maxDuration(int maxDuration)
RenderProperties.Builder
properties(RenderProperties.Properties properties)
Initial configuration of Publisher properties for the composed output stream.
RenderProperties.Builder
resolution(RenderProperties.Resolution resolution)
Resolution of the display area for the composition.
RenderProperties.Builder
url(String url)
URL of the customer service where the callbacks will be received.
RenderProperties.Builder
url(URI url)
URL of the customer service where the callbacks will be received.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.