title: How to pass the parameter of type byte[] to the AsyncTask function?
body: <p>How to pass the parameter of type byte[] to the doInBackground function of the AsynTask class?</p>
  
  <p>When I do something like this:</p>
  
  <pre><code>private class Banana extends AsyncTask&lt;byte[], Void, Void&gt; {
      protected void doInBackground(byte[]... data) {
          mCamera.addCallbackBuffer(byte[] data);
      }
  
      protected void onProgressUpdate() {
      }
  
      protected void onPostExecute() {
      }
  }
  </code></pre>
  
  <p>I get an error saying return type is incompatible with Async Task for the doInBackground function. </p>