Class CameraSource.Options.Builder

java.lang.Object
com.amazonaws.ivs.broadcast.CameraSource.Options.Builder
Enclosing class:
CameraSource.Options

public static final class CameraSource.Options.Builder extends Object
Use this class to build CameraSource.Options objects
  • Constructor Details

    • Builder

      public Builder()
      Instantiate a new builder with no options
  • Method Details

    • setZoomFactor

      public CameraSource.Options.Builder setZoomFactor(float zoomFactor)
      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

      public CameraSource.Options build()
      Builds the options object
      Returns:
      A new options object with the specific options set in the builder