Package com.vonage.client.video
Class StreamCompositionLayout.Builder
java.lang.Object
com.vonage.client.video.StreamCompositionLayout.Builder
- Enclosing class:
StreamCompositionLayout
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the StreamCompositionLayout.screenshareType(ScreenLayoutType screenshareType) (OPTIONAL) The layout type to use when there is a screen-sharing stream in the session.stylesheet(String stylesheet) Used for the ScreenLayoutType.CUSTOM layout to define the visual layout.
-
Method Details
-
stylesheet
Used for the ScreenLayoutType.CUSTOM layout to define the visual layout. For other layout types, do not set this property.- Parameters:
stylesheet- The CSS code to use for the layout. For example:
stream.instructor {position: absolute; width: 100%; height:50%;}- Returns:
- This builder.
-
build
Builds the StreamCompositionLayout.- Returns:
- An instance of StreamCompositionLayout, populated with all fields from this builder.