private Request(Bundle bundle, CallbackContext callbackContext, int requestCode) {
      this.callbackContext = callbackContext;
      this.requestCode = requestCode;
      this.action = bundle.getInt(ACTION_KEY);
      this.limit = bundle.getLong(LIMIT_KEY);
      this.duration = bundle.getInt(DURATION_KEY);
      this.quality = bundle.getInt(QUALITY_KEY);

      try {
        this.results = new JSONArray(bundle.getString(RESULTS_KEY));
      } catch (JSONException e) {
        // This should never be caught
        LOG.e(LOG_TAG, "Error parsing results for request from saved bundle", e);
      }
    }