Interface CaptureRequestUpdater


  • public interface CaptureRequestUpdater
    Interface for updating the CaptureRequest of a Camera2Capturer.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void apply​(android.hardware.camera2.CaptureRequest.Builder captureRequestBuilder)
      Invoked when the CaptureRequest is available for modification.
    • Method Detail

      • apply

        void apply​(@NonNull
                   android.hardware.camera2.CaptureRequest.Builder captureRequestBuilder)
        Invoked when the CaptureRequest is available for modification.

        The provided CaptureRequest.Builder is pre-configured with optimal settings to capture video for video streaming.

        Parameters:
        captureRequestBuilder - the current capture request builder for the CameraCaptureSession associated with the Camera2Capturer.