1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
2<HTML style="overflow:auto;">
3<HEAD>
4<meta name="generator" content="JDiff v1.1.0">
5<!-- Generated by the JDiff Javadoc doclet -->
6<!-- (http://www.jdiff.org) -->
7<meta name="description" content="JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.">
8<meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet">
9<TITLE>
10android.service.notification.NotificationListenerService
11</TITLE>
12<link href="/assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
13<link href="/stylesheet-jdiff.css" rel="stylesheet" type="text/css" />
14<noscript>
15<style type="text/css">
16body{overflow:auto;}
17#body-content{position:relative; top:0;}
18#doc-content{overflow:visible;border-left:3px solid #666;}
19#side-nav{padding:0;}
20#side-nav .toggle-list ul {display:block;}
21#resize-packages-nav{border-bottom:3px solid #666;}
22</style>
23</noscript>
24<style type="text/css">
25</style>
26</HEAD>
27<BODY>
28<!-- Start of nav bar -->
29<a name="top"></a>
30<div id="header" style="margin-bottom:0;padding-bottom:0;">
31<div id="headerLeft">
32<a href="/index.html" tabindex="-1" target="_top"><img src="/assets/images/bg_logo.png" alt="Android Developers" /></a>
33</div>
34  <div id="headerRight">
35  <div id="headerLinks">
36<!-- <img src="/assets/images/icon_world.jpg" alt="" /> -->
37<span class="text">
38<!-- &nbsp;<a href="#">English</a> | -->
39<nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr>
40</span>
41</div>
42  <div class="and-diff-id" style="margin-top:6px;margin-right:8px;">
43    <table class="diffspectable">
44      <tr>
45        <td colspan="2" class="diffspechead">API Diff Specification</td>
46      </tr>
47      <tr>
48        <td class="diffspec" style="padding-top:.25em">To Level:</td>
49        <td class="diffvaluenew" style="padding-top:.25em">21</td>
50      </tr>
51      <tr>
52        <td class="diffspec">From Level:</td>
53        <td class="diffvalueold">20</td>
54      </tr>
55      <tr>
56        <td class="diffspec">Generated</td>
57        <td class="diffvalue">2014.10.15 15:01</td>
58      </tr>
59    </table>
60    </div><!-- End and-diff-id -->
61  <div class="and-diff-id" style="margin-right:8px;">
62    <table class="diffspectable">
63      <tr>
64        <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a>
65      </tr>
66    </table>
67  </div> <!-- End and-diff-id -->
68  </div> <!-- End headerRight -->
69  </div> <!-- End header -->
70<div id="body-content" xstyle="padding:12px;padding-right:18px;">
71<div id="doc-content" style="position:relative;">
72<div id="mainBodyFluid">
73<H2>
74Class android.service.notification.<A HREF="/reference/android/service/notification/NotificationListenerService.html" target="_top"><font size="+2"><code>NotificationListenerService</code></font></A>
75</H2>
76<a NAME="constructors"></a>
77<a NAME="methods"></a>
78<p>
79<a NAME="Removed"></a>
80<TABLE summary="Removed Methods" WIDTH="100%">
81<TR>
82  <TH VALIGN="TOP" COLSPAN=2>Removed Methods</FONT></TD>
83</TH>
84<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
85  <TD VALIGN="TOP" WIDTH="25%">
86  <A NAME="android.service.notification.NotificationListenerService.cancelNotification_removed(java.lang.String, java.lang.String, int)"></A>
87  <nobr><code>void</code>&nbsp;cancelNotification(<code>String,</nobr> String<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
88  </TD>
89  <TD>&nbsp;</TD>
90</TR>
91</TABLE>
92&nbsp;
93<p>
94<a NAME="Added"></a>
95<TABLE summary="Added Methods" WIDTH="100%">
96<TR>
97  <TH VALIGN="TOP" COLSPAN=2>Added Methods</FONT></TD>
98</TH>
99<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
100  <TD VALIGN="TOP" WIDTH="25%">
101  <A NAME="android.service.notification.NotificationListenerService.cancelNotification_added(java.lang.String)"></A>
102  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#cancelNotification(java.lang.String)" target="_top"><code>cancelNotification</code></A>(<code>String</code>)</nobr>
103  </TD>
104  <TD>&nbsp;</TD>
105</TR>
106<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
107  <TD VALIGN="TOP" WIDTH="25%">
108  <A NAME="android.service.notification.NotificationListenerService.cancelNotification_added(java.lang.String, java.lang.String, int)"></A>
109  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#cancelNotification(java.lang.String, java.lang.String, int)" target="_top"><code>cancelNotification</code></A>(<code>String,</nobr> String<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
110  </TD>
111  <TD>&nbsp;</TD>
112</TR>
113<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
114  <TD VALIGN="TOP" WIDTH="25%">
115  <A NAME="android.service.notification.NotificationListenerService.cancelNotifications_added(java.lang.String[])"></A>
116  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#cancelNotifications(java.lang.String[])" target="_top"><code>cancelNotifications</code></A>(<code>String[]</code>)</nobr>
117  </TD>
118  <TD>&nbsp;</TD>
119</TR>
120<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
121  <TD VALIGN="TOP" WIDTH="25%">
122  <A NAME="android.service.notification.NotificationListenerService.getActiveNotifications_added(java.lang.String[])"></A>
123  <nobr><code>StatusBarNotification[]</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#getActiveNotifications(java.lang.String[])" target="_top"><code>getActiveNotifications</code></A>(<code>String[]</code>)</nobr>
124  </TD>
125  <TD>&nbsp;</TD>
126</TR>
127<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
128  <TD VALIGN="TOP" WIDTH="25%">
129  <A NAME="android.service.notification.NotificationListenerService.getCurrentInterruptionFilter_added()"></A>
130  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#getCurrentInterruptionFilter()" target="_top"><code>getCurrentInterruptionFilter</code></A>()</nobr>
131  </TD>
132  <TD>&nbsp;</TD>
133</TR>
134<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
135  <TD VALIGN="TOP" WIDTH="25%">
136  <A NAME="android.service.notification.NotificationListenerService.getCurrentListenerHints_added()"></A>
137  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#getCurrentListenerHints()" target="_top"><code>getCurrentListenerHints</code></A>()</nobr>
138  </TD>
139  <TD>&nbsp;</TD>
140</TR>
141<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
142  <TD VALIGN="TOP" WIDTH="25%">
143  <A NAME="android.service.notification.NotificationListenerService.getCurrentRanking_added()"></A>
144  <nobr><code>RankingMap</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#getCurrentRanking()" target="_top"><code>getCurrentRanking</code></A>()</nobr>
145  </TD>
146  <TD>&nbsp;</TD>
147</TR>
148<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
149  <TD VALIGN="TOP" WIDTH="25%">
150  <A NAME="android.service.notification.NotificationListenerService.onInterruptionFilterChanged_added(int)"></A>
151  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onInterruptionFilterChanged(int)" target="_top"><code>onInterruptionFilterChanged</code></A>(<code>int</code>)</nobr>
152  </TD>
153  <TD>&nbsp;</TD>
154</TR>
155<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
156  <TD VALIGN="TOP" WIDTH="25%">
157  <A NAME="android.service.notification.NotificationListenerService.onListenerConnected_added()"></A>
158  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onListenerConnected()" target="_top"><code>onListenerConnected</code></A>()</nobr>
159  </TD>
160  <TD>&nbsp;</TD>
161</TR>
162<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
163  <TD VALIGN="TOP" WIDTH="25%">
164  <A NAME="android.service.notification.NotificationListenerService.onListenerHintsChanged_added(int)"></A>
165  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onListenerHintsChanged(int)" target="_top"><code>onListenerHintsChanged</code></A>(<code>int</code>)</nobr>
166  </TD>
167  <TD>&nbsp;</TD>
168</TR>
169<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
170  <TD VALIGN="TOP" WIDTH="25%">
171  <A NAME="android.service.notification.NotificationListenerService.onNotificationPosted_added(android.service.notification.StatusBarNotification, android.service.notification.NotificationListenerService.RankingMap)"></A>
172  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onNotificationPosted(android.service.notification.StatusBarNotification, android.service.notification.NotificationListenerService.RankingMap)" target="_top"><code>onNotificationPosted</code></A>(<code>StatusBarNotification,</nobr> RankingMap<nobr><nobr></code>)</nobr>
173  </TD>
174  <TD>&nbsp;</TD>
175</TR>
176<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
177  <TD VALIGN="TOP" WIDTH="25%">
178  <A NAME="android.service.notification.NotificationListenerService.onNotificationRankingUpdate_added(android.service.notification.NotificationListenerService.RankingMap)"></A>
179  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onNotificationRankingUpdate(android.service.notification.NotificationListenerService.RankingMap)" target="_top"><code>onNotificationRankingUpdate</code></A>(<code>RankingMap</code>)</nobr>
180  </TD>
181  <TD>&nbsp;</TD>
182</TR>
183<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
184  <TD VALIGN="TOP" WIDTH="25%">
185  <A NAME="android.service.notification.NotificationListenerService.onNotificationRemoved_added(android.service.notification.StatusBarNotification, android.service.notification.NotificationListenerService.RankingMap)"></A>
186  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onNotificationRemoved(android.service.notification.StatusBarNotification, android.service.notification.NotificationListenerService.RankingMap)" target="_top"><code>onNotificationRemoved</code></A>(<code>StatusBarNotification,</nobr> RankingMap<nobr><nobr></code>)</nobr>
187  </TD>
188  <TD>&nbsp;</TD>
189</TR>
190<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
191  <TD VALIGN="TOP" WIDTH="25%">
192  <A NAME="android.service.notification.NotificationListenerService.requestInterruptionFilter_added(int)"></A>
193  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#requestInterruptionFilter(int)" target="_top"><code>requestInterruptionFilter</code></A>(<code>int</code>)</nobr>
194  </TD>
195  <TD>&nbsp;</TD>
196</TR>
197<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
198  <TD VALIGN="TOP" WIDTH="25%">
199  <A NAME="android.service.notification.NotificationListenerService.requestListenerHints_added(int)"></A>
200  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#requestListenerHints(int)" target="_top"><code>requestListenerHints</code></A>(<code>int</code>)</nobr>
201  </TD>
202  <TD>&nbsp;</TD>
203</TR>
204</TABLE>
205&nbsp;
206<p>
207<a NAME="Changed"></a>
208<TABLE summary="Changed Methods" WIDTH="100%">
209<TR>
210  <TH VALIGN="TOP" COLSPAN=3>Changed Methods</FONT></TD>
211</TH>
212<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
213  <TD VALIGN="TOP" WIDTH="25%">
214  <A NAME="android.service.notification.NotificationListenerService.onNotificationPosted_changed(android.service.notification.StatusBarNotification)"></A>
215  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onNotificationPosted(android.service.notification.StatusBarNotification)" target="_top"><code>onNotificationPosted</code></A>(<code>StatusBarNotification</code>)  </nobr>
216  </TD>
217  <TD VALIGN="TOP" WIDTH="30%">
218Changed from abstract to non-abstract.
219  </TD>
220  <TD>&nbsp;</TD>
221</TR>
222<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
223  <TD VALIGN="TOP" WIDTH="25%">
224  <A NAME="android.service.notification.NotificationListenerService.onNotificationRemoved_changed(android.service.notification.StatusBarNotification)"></A>
225  <nobr><code>void</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#onNotificationRemoved(android.service.notification.StatusBarNotification)" target="_top"><code>onNotificationRemoved</code></A>(<code>StatusBarNotification</code>)  </nobr>
226  </TD>
227  <TD VALIGN="TOP" WIDTH="30%">
228Changed from abstract to non-abstract.
229  </TD>
230  <TD>&nbsp;</TD>
231</TR>
232</TABLE>
233&nbsp;
234<a NAME="fields"></a>
235<p>
236<a NAME="Added"></a>
237<TABLE summary="Added Fields" WIDTH="100%">
238<TR>
239  <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD>
240</TH>
241<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
242  <TD VALIGN="TOP" WIDTH="25%">
243  <A NAME="android.service.notification.NotificationListenerService.HINT_HOST_DISABLE_EFFECTS"></A>
244  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#HINT_HOST_DISABLE_EFFECTS" target="_top"><code>HINT_HOST_DISABLE_EFFECTS</code></A></nobr>
245  </TD>
246  <TD>&nbsp;</TD>
247</TR>
248<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
249  <TD VALIGN="TOP" WIDTH="25%">
250  <A NAME="android.service.notification.NotificationListenerService.INTERRUPTION_FILTER_ALL"></A>
251  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#INTERRUPTION_FILTER_ALL" target="_top"><code>INTERRUPTION_FILTER_ALL</code></A></nobr>
252  </TD>
253  <TD>&nbsp;</TD>
254</TR>
255<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
256  <TD VALIGN="TOP" WIDTH="25%">
257  <A NAME="android.service.notification.NotificationListenerService.INTERRUPTION_FILTER_NONE"></A>
258  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#INTERRUPTION_FILTER_NONE" target="_top"><code>INTERRUPTION_FILTER_NONE</code></A></nobr>
259  </TD>
260  <TD>&nbsp;</TD>
261</TR>
262<TR BGCOLOR="#FFFFFF" CLASS="TableRowColor">
263  <TD VALIGN="TOP" WIDTH="25%">
264  <A NAME="android.service.notification.NotificationListenerService.INTERRUPTION_FILTER_PRIORITY"></A>
265  <nobr><code>int</code>&nbsp;<A HREF="/reference/android/service/notification/NotificationListenerService.html#INTERRUPTION_FILTER_PRIORITY" target="_top"><code>INTERRUPTION_FILTER_PRIORITY</code></A></nobr>
266  </TD>
267  <TD>&nbsp;</TD>
268</TR>
269</TABLE>
270&nbsp;
271      </div>	
272      <div id="footer">
273        <div id="copyright">
274        Except as noted, this content is licensed under 
275        <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>.
276        For details and restrictions, see the <a href="/license.html">Content License</a>.
277        </div>
278      <div id="footerlinks">
279      <p>
280        <a href="//www.android.com/terms.html">Site Terms of Service</a> -
281        <a href="//www.android.com/privacy.html">Privacy Policy</a> -
282        <a href="//www.android.com/branding.html">Brand Guidelines</a>
283      </p>
284    </div>
285    </div> <!-- end footer -->
286    </div><!-- end doc-content -->
287    </div> <!-- end body-content --> 
288<script src="//www.google-analytics.com/ga.js" type="text/javascript">
289</script>
290<script type="text/javascript">
291  try {
292    var pageTracker = _gat._getTracker("UA-5831155-1");
293    pageTracker._setAllowAnchor(true);
294    pageTracker._initData();
295    pageTracker._trackPageview();
296  } catch(e) {}
297</script>
298</BODY>
299</HTML>
300