<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd"> <HTML style="overflow:auto;"> <HEAD> <meta name="generator" content="JDiff v1.1.0"> <!-- Generated by the JDiff Javadoc doclet --> <!-- (http://www.jdiff.org) --> <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."> <meta name="keywords" content="diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet"> <TITLE> android.app.Notification </TITLE> <link href="../../../../assets/android-developer-docs.css" rel="stylesheet" type="text/css" /> <link href="../stylesheet-jdiff.css" rel="stylesheet" type="text/css" /> <noscript> <style type="text/css"> body{overflow:auto;} #body-content{position:relative; top:0;} #doc-content{overflow:visible;border-left:3px solid #666;} #side-nav{padding:0;} #side-nav .toggle-list ul {display:block;} #resize-packages-nav{border-bottom:3px solid #666;} </style> </noscript> <style type="text/css"> </style> </HEAD> <BODY> <!-- Start of nav bar --> <a name="top"></a> <div id="header" style="margin-bottom:0;padding-bottom:0;"> <div id="headerLeft"> <a href="../../../../index.html" tabindex="-1" target="_top"><img src="../../../../assets/images/bg_logo.png" alt="Android Developers" /></a> </div> <div id="headerRight"> <div id="headerLinks"> <!-- <img src="/assets/images/icon_world.jpg" alt="" /> --> <span class="text"> <!-- <a href="#">English</a> | --> <nobr><a href="//developer.android.com" target="_top">Android Developers</a> | <a href="//www.android.com" target="_top">Android.com</a></nobr> </span> </div> <div class="and-diff-id" style="margin-top:6px;margin-right:8px;"> <table class="diffspectable"> <tr> <td colspan="2" class="diffspechead">API Diff Specification</td> </tr> <tr> <td class="diffspec" style="padding-top:.25em">To Level:</td> <td class="diffvaluenew" style="padding-top:.25em">21</td> </tr> <tr> <td class="diffspec">From Level:</td> <td class="diffvalueold">20</td> </tr> <tr> <td class="diffspec">Generated</td> <td class="diffvalue">2014.10.15 15:01</td> </tr> </table> </div><!-- End and-diff-id --> <div class="and-diff-id" style="margin-right:8px;"> <table class="diffspectable"> <tr> <td class="diffspec" colspan="2"><a href="jdiff_statistics.html">Statistics</a> </tr> </table> </div> <!-- End and-diff-id --> </div> <!-- End headerRight --> </div> <!-- End header --> <div id="body-content" xstyle="padding:12px;padding-right:18px;"> <div id="doc-content" style="position:relative;"> <div id="mainBodyFluid"> <H2> Class android.app.<A HREF="../../../../reference/android/app/Notification.html" target="_top"><font size="+2"><code>Notification</code></font></A> </H2> <a NAME="constructors"></a> <a NAME="methods"></a> <a NAME="fields"></a> <p> <a NAME="Added"></a> <TABLE summary="Added Fields" WIDTH="100%"> <TR> <TH VALIGN="TOP" COLSPAN=2>Added Fields</FONT></TD> </TH> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.AUDIO_ATTRIBUTES_DEFAULT"></A> <nobr><code>AudioAttributes</code> <A HREF="../../../../reference/android/app/Notification.html#AUDIO_ATTRIBUTES_DEFAULT" target="_top"><code>AUDIO_ATTRIBUTES_DEFAULT</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_ALARM"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_ALARM" target="_top"><code>CATEGORY_ALARM</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_CALL"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_CALL" target="_top"><code>CATEGORY_CALL</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_EMAIL"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_EMAIL" target="_top"><code>CATEGORY_EMAIL</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_ERROR"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_ERROR" target="_top"><code>CATEGORY_ERROR</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_EVENT"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_EVENT" target="_top"><code>CATEGORY_EVENT</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_MESSAGE"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_MESSAGE" target="_top"><code>CATEGORY_MESSAGE</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_PROGRESS"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_PROGRESS" target="_top"><code>CATEGORY_PROGRESS</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_PROMO"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_PROMO" target="_top"><code>CATEGORY_PROMO</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_RECOMMENDATION"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_RECOMMENDATION" target="_top"><code>CATEGORY_RECOMMENDATION</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_SERVICE"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_SERVICE" target="_top"><code>CATEGORY_SERVICE</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_SOCIAL"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_SOCIAL" target="_top"><code>CATEGORY_SOCIAL</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_STATUS"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_STATUS" target="_top"><code>CATEGORY_STATUS</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_SYSTEM"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_SYSTEM" target="_top"><code>CATEGORY_SYSTEM</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.CATEGORY_TRANSPORT"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#CATEGORY_TRANSPORT" target="_top"><code>CATEGORY_TRANSPORT</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.COLOR_DEFAULT"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#COLOR_DEFAULT" target="_top"><code>COLOR_DEFAULT</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.EXTRA_BACKGROUND_IMAGE_URI"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#EXTRA_BACKGROUND_IMAGE_URI" target="_top"><code>EXTRA_BACKGROUND_IMAGE_URI</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.EXTRA_BIG_TEXT"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#EXTRA_BIG_TEXT" target="_top"><code>EXTRA_BIG_TEXT</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.EXTRA_COMPACT_ACTIONS"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#EXTRA_COMPACT_ACTIONS" target="_top"><code>EXTRA_COMPACT_ACTIONS</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.EXTRA_MEDIA_SESSION"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#EXTRA_MEDIA_SESSION" target="_top"><code>EXTRA_MEDIA_SESSION</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.EXTRA_TEMPLATE"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#EXTRA_TEMPLATE" target="_top"><code>EXTRA_TEMPLATE</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.INTENT_CATEGORY_NOTIFICATION_PREFERENCES"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#INTENT_CATEGORY_NOTIFICATION_PREFERENCES" target="_top"><code>INTENT_CATEGORY_NOTIFICATION_PREFERENCES</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.VISIBILITY_PRIVATE"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#VISIBILITY_PRIVATE" target="_top"><code>VISIBILITY_PRIVATE</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.VISIBILITY_PUBLIC"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#VISIBILITY_PUBLIC" target="_top"><code>VISIBILITY_PUBLIC</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.VISIBILITY_SECRET"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#VISIBILITY_SECRET" target="_top"><code>VISIBILITY_SECRET</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.audioAttributes"></A> <nobr><code>AudioAttributes</code> <A HREF="../../../../reference/android/app/Notification.html#audioAttributes" target="_top"><code>audioAttributes</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.category"></A> <nobr><code>String</code> <A HREF="../../../../reference/android/app/Notification.html#category" target="_top"><code>category</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.color"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#color" target="_top"><code>color</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.headsUpContentView"></A> <nobr><code>RemoteViews</code> <A HREF="../../../../reference/android/app/Notification.html#headsUpContentView" target="_top"><code>headsUpContentView</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.publicVersion"></A> <nobr><code>Notification</code> <A HREF="../../../../reference/android/app/Notification.html#publicVersion" target="_top"><code>publicVersion</code></A></nobr> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.visibility"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#visibility" target="_top"><code>visibility</code></A></nobr> </TD> <TD> </TD> </TR> </TABLE> <p> <a NAME="Changed"></a> <TABLE summary="Changed Fields" WIDTH="100%"> <TR> <TH VALIGN="TOP" COLSPAN=3>Changed Fields</FONT></TD> </TH> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.STREAM_DEFAULT"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#STREAM_DEFAULT" target="_top"><code>STREAM_DEFAULT</code></font></A></nobr> </TD> <TD VALIGN="TOP" WIDTH="30%"> <b>Now deprecated</b>.<br> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.audioStreamType"></A> <nobr><code>int</code> <A HREF="../../../../reference/android/app/Notification.html#audioStreamType" target="_top"><code>audioStreamType</code></font></A></nobr> </TD> <TD VALIGN="TOP" WIDTH="30%"> <b>Now deprecated</b>.<br> </TD> <TD> </TD> </TR> <TR BGCOLOR="#FFFFFF" CLASS="TableRowColor"> <TD VALIGN="TOP" WIDTH="25%"> <A NAME="android.app.Notification.tickerView"></A> <nobr><code>RemoteViews</code> <A HREF="../../../../reference/android/app/Notification.html#tickerView" target="_top"><code>tickerView</code></font></A></nobr> </TD> <TD VALIGN="TOP" WIDTH="30%"> <b>Now deprecated</b>.<br> </TD> <TD> </TD> </TR> </TABLE> </div> <div id="footer"> <div id="copyright"> Except as noted, this content is licensed under <a href="//creativecommons.org/licenses/by/2.5/"> Creative Commons Attribution 2.5</a>. For details and restrictions, see the <a href="/license.html">Content License</a>. </div> <div id="footerlinks"> <p> <a href="//www.android.com/terms.html">Site Terms of Service</a> - <a href="//www.android.com/privacy.html">Privacy Policy</a> - <a href="//www.android.com/branding.html">Brand Guidelines</a> </p> </div> </div> <!-- end footer --> </div><!-- end doc-content --> </div> <!-- end body-content --> <script src="//www.google-analytics.com/ga.js" type="text/javascript"> </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-5831155-1"); pageTracker._setAllowAnchor(true); pageTracker._initData(); pageTracker._trackPageview(); } catch(e) {} </script> </BODY> </HTML>