code: public boolean startForeground(final int id, final Notification notification) {
          if (FileDownloader.getImpl().isServiceConnected()) {
              FileDownloader.getImpl().startForeground(id, notification);
              return true;
          } else {
              FileDownloader.getImpl().bindService(new Runnable() {
                  @Override
                  public void run() {
                      FileDownloader.getImpl().startForeground(id, notification);
                  }
              });
              return false;
          }
      }
docs: The {@link FileDownloader#startForeground(int, Notification)} request.