Package com.opentok
Class RenderProperties.Builder
- java.lang.Object
-
- com.opentok.RenderProperties.Builder
-
- Enclosing class:
- RenderProperties
public static class RenderProperties.Builder extends java.lang.Object
Builder for defining the parameters ofRenderProperties
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete 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(java.lang.String url)
URL of the customer service where the callbacks will be received.RenderProperties.Builder
url(java.net.URI url)
URL of the customer service where the callbacks will be received.
-
-
-
Method Detail
-
url
public RenderProperties.Builder url(java.lang.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(java.net.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.
-
-