title: How can I retrieve Notifications list of status bar programmatically?
body: <p>How can I retrieve Notification list of status bar programmatically on android?</p>
  
  <p>I found some ways like <code>NotificationListenerService</code>, but I would be happy to know any methods or apis that I can retrieve every <code>StatusBarNotification</code> s in one method call.</p>
  
  <pre><code>public List&lt;StatusBarNotification&gt; getNotifications()
  {
      //...
  }
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>Thanks to comment I found some way. I'll post it later when I am finished, for further users.</p>