title: How is JobIntentService related to JobService?
body: <p>In case of <code>Service</code> and <code>IntentService</code> the main differences are <code>Service</code> runs on the main thread while <code>IntentService</code> is not, and the latter finishes itself when the work is done while we have to call either <code>stopService()</code> or <code>stopSelf()</code> to stop a <code>Service</code>.</p>
  
  <p>Both of these can be simply passed to <code>startService()</code>.</p>
  
  <p>What about <code>JobService</code> and <code>JobIntentService</code>?</p>
  
  <p>Let's take the following code snippet:</p>
  
  <pre><code>JobInfo job = new JobInfo.Builder(id, new ComponentName(context, ExampleJobService.class))
      .build();
  
  JobScheduler scheduler = (JobScheduler) context
      .getSystemService(Context.JOB_SCHEDULER_SERVICE);
  
  scheduler.schedule(job);
  </code></pre>
  
  <p>Can <code>ExampleJobService.class</code> refer to both a <code>JobService</code> and a <code>JobIntentService</code>?</p>
  
  <p>Will the behaviour be the same as with <code>Service</code> and <code>IntentService</code> (apart from the <code>JobScheduler</code> may not start the jobs immediately)?</p>