android.support.v4.app
Class NotificationCompat

java.lang.Object
  extended by android.support.v4.app.NotificationCompat

public class NotificationCompat
extends Object

Helper for accessing features in Notification introduced after API level 4 in a backwards compatible fashion.


Nested Class Summary
static class NotificationCompat.Action
           
static class NotificationCompat.BigPictureStyle
          Helper class for generating large-format notifications that include a large image attachment.
static class NotificationCompat.BigTextStyle
          Helper class for generating large-format notifications that include a lot of text.
static class NotificationCompat.Builder
          Builder class for NotificationCompat objects.
static class NotificationCompat.InboxStyle
          Helper class for generating large-format notifications that include a list of (up to 5) strings.
static class NotificationCompat.Style
          An object that can apply a rich notification style to a Notification.Builder object.
 
Field Summary
static int FLAG_HIGH_PRIORITY
          Deprecated. Use NotificationCompat.Builder.setPriority(int) with a positive value.
static int PRIORITY_DEFAULT
          Default notification priority for NotificationCompat.Builder.setPriority(int).
static int PRIORITY_HIGH
          Higher notification priority for NotificationCompat.Builder.setPriority(int), for more important notifications or alerts.
static int PRIORITY_LOW
          Lower notification priority for NotificationCompat.Builder.setPriority(int), for items that are less important.
static int PRIORITY_MAX
          Highest notification priority for NotificationCompat.Builder.setPriority(int), for your application's most important items that require the user's prompt attention or input.
static int PRIORITY_MIN
          Lowest notification priority for NotificationCompat.Builder.setPriority(int); these items might not be shown to the user except under special circumstances, such as detailed notification logs.
 
Constructor Summary
NotificationCompat()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAG_HIGH_PRIORITY

public static final int FLAG_HIGH_PRIORITY
Deprecated. Use NotificationCompat.Builder.setPriority(int) with a positive value.
Obsolete flag indicating high-priority notifications; use the priority field instead.

See Also:
Constant Field Values

PRIORITY_DEFAULT

public static final int PRIORITY_DEFAULT
Default notification priority for NotificationCompat.Builder.setPriority(int). If your application does not prioritize its own notifications, use this value for all notifications.

See Also:
Constant Field Values

PRIORITY_LOW

public static final int PRIORITY_LOW
Lower notification priority for NotificationCompat.Builder.setPriority(int), for items that are less important. The UI may choose to show these items smaller, or at a different position in the list, compared with your app's PRIORITY_DEFAULT items.

See Also:
Constant Field Values

PRIORITY_MIN

public static final int PRIORITY_MIN
Lowest notification priority for NotificationCompat.Builder.setPriority(int); these items might not be shown to the user except under special circumstances, such as detailed notification logs.

See Also:
Constant Field Values

PRIORITY_HIGH

public static final int PRIORITY_HIGH
Higher notification priority for NotificationCompat.Builder.setPriority(int), for more important notifications or alerts. The UI may choose to show these items larger, or at a different position in notification lists, compared with your app's PRIORITY_DEFAULT items.

See Also:
Constant Field Values

PRIORITY_MAX

public static final int PRIORITY_MAX
Highest notification priority for NotificationCompat.Builder.setPriority(int), for your application's most important items that require the user's prompt attention or input.

See Also:
Constant Field Values
Constructor Detail

NotificationCompat

public NotificationCompat()


Copyright © 2013 Marek Kedzierski. All Rights Reserved.