Package com.opentok
Class RenderProperties.Builder
java.lang.Object
com.opentok.RenderProperties.Builder
- Enclosing class:
- RenderProperties
Builder for defining the parameters of
RenderProperties
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the RenderProperties object.maxDuration
(int maxDuration) properties
(RenderProperties.Properties properties) Initial configuration of Publisher properties for the composed output stream.resolution
(RenderProperties.Resolution resolution) Resolution of the display area for the composition.URL of the customer service where the callbacks will be received.URL of the customer service where the callbacks will be received.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
URL of the customer service where the callbacks will be received.- Parameters:
url
- The URL as a String.- Returns:
- This Builder.
-
url
URL of the customer service where the callbacks will be received.- Parameters:
url
- The URL as a URI.- Returns:
- This Builder.
-
maxDuration
-
resolution
Resolution of the display area for the composition.- Parameters:
resolution
- The resolution, as an enum.- Returns:
- This Builder.
-
properties
Initial configuration of Publisher properties for the composed output stream.- Parameters:
properties
- The properties value.- Returns:
- This Builder.
-
build
Builds the RenderProperties object.- Returns:
- The RenderProperties object.
-