title: Difference between acquireNextImage Vs acquireLatestImage
body: <p>I am working on Camera2 API to take pictures continuously and it's working fine, 
  Here I am able to save the captured image using following code:</p>
  
  <pre><code>ImageReader.OnImageAvailableListener readerListener = new ImageReader.OnImageAvailableListener() {
                  @Override
                  public void onImageAvailable(ImageReader reader) {
                      Image image = null;
                      try {
  
  //                        image = reader.acquireLatestImage();
                          image = reader.acquireNextImage();
                          ByteBuffer buffer = image.getPlanes()[0].getBuffer();
                          byte[] bytes = new byte[buffer.capacity()];
                          buffer.get(bytes);
                          save(bytes);
                      } catch (FileNotFoundException e) {
                          logFile.writeCrashLog(TAG + ": " + e.toString());
                          hideProgressDialog();
                      } catch (IOException e) {
                          logFile.writeCrashLog(TAG + ": " + e.toString());
                          hideProgressDialog();
                      } catch (Exception e) {
                          logFile.writeCrashLog(TAG + ": " + e.toString());
                          hideProgressDialog();
                      } finally {
                          if (image != null) {
                              image.close();
                          }
                      }
                  }
  
                  private void save(byte[] bytes) throws IOException {
                      OutputStream output = null;
                      try {
                          output = new FileOutputStream(AndroidCameraApiActivity.this.file);
                          output.write(bytes);
                      } catch (Exception e) {
                          logFile.writeCrashLog(TAG + ": " + e.toString());
                          hideProgressDialog();
                      } finally {
                          if (null != output) {
                              output.close();
                          }
                      }
                  }
              };
  </code></pre>
  
  <p>Here I want to know which is the best case to get the image by <strong>acquireLatestImage</strong> OR <strong>acquireNextImage?</strong> which suitable to get continuous images.</p>