How to setJpegQuality(int i) Camera2API? <p>Please help me to understand how i can set <code>setJpegQuality(int i)</code> in my Camera2API? </p> <p>I have surfed google and there are not a lot sample how to do it in CameraAPI, but there are any samples how to make it with Camera2API...</p> <p>I have found <a href="https://developer.android.com/reference/android/hardware/Camera.Parameters.html#setJpegQuality(int)" rel="nofollow">this</a> , but <strong>maybe anyone know how to set it for Camera2API?</strong></p> <p>Thanks!</p>