Interface FrameCaptureSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FrameCaptureSettings.Builder,FrameCaptureSettings>, SdkBuilder<FrameCaptureSettings.Builder,FrameCaptureSettings>, SdkPojo
Enclosing class:
FrameCaptureSettings

public static interface FrameCaptureSettings.Builder extends SdkPojo, CopyableBuilder<FrameCaptureSettings.Builder,FrameCaptureSettings>
  • Method Details

    • framerateDenominator

      FrameCaptureSettings.Builder framerateDenominator(Integer framerateDenominator)
      Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.
      Parameters:
      framerateDenominator - Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framerateNumerator

      FrameCaptureSettings.Builder framerateNumerator(Integer framerateNumerator)
      Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.
      Parameters:
      framerateNumerator - Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCaptures

      FrameCaptureSettings.Builder maxCaptures(Integer maxCaptures)
      Maximum number of captures (encoded jpg output files).
      Parameters:
      maxCaptures - Maximum number of captures (encoded jpg output files).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quality

      JPEG Quality - a higher value equals higher quality.
      Parameters:
      quality - JPEG Quality - a higher value equals higher quality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.