title: Android - How to receive shortcut create result
body: <p>Looking at the code sample <a href="https://developer.android.com/guide/topics/ui/shortcuts#pinned" rel="nofollow noreferrer">here</a> - I find the following comment puzzling:</p>
  
  <pre><code>// ... We assume here that the
  // app has implemented a method called createShortcutResultIntent() that
  // returns a broadcast intent.
  </code></pre>
  
  <p>what does it mean <strong>the app has implemented ...</strong> where is this implementation done?</p>
  
  <p>is it a broadcast receiver? registered to which intent filter?</p>
  
  <p>is this an abstract method? of which class?</p>
  
  <p>and then I see <a href="https://android.googlesource.com/platform/development/+/master/samples/ShortcutSample/src/com/example/android/shortcutsample/Main.java#159" rel="nofollow noreferrer">this code sample</a> - which handles a completely different flow (I think) and I'm lost again</p>