Package com.amazonaws.ivs.broadcast
Class CameraSource.Options.Builder
java.lang.Object
com.amazonaws.ivs.broadcast.CameraSource.Options.Builder
- Enclosing class:
CameraSource.Options
Use this class to build
CameraSource.Options
objects-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the options objectsetZoomFactor
(float zoomFactor) Set camera zoom factor
-
Constructor Details
-
Builder
public Builder()Instantiate a new builder with no options
-
-
Method Details
-
setZoomFactor
Set camera zoom factor- Parameters:
zoomFactor
- New zoom factor between 1.0f and max zoom factor supported by the device- Returns:
- The builder for chaining calls
-
build
Builds the options object- Returns:
- A new options object with the specific options set in the builder
-