java.lang.Object | |
↳ | android.support.v4.app.NotificationCompat |
Helper for accessing features in Notification
introduced after API level 4 in a backwards compatible fashion.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NotificationCompat.Action | |||||||||||
NotificationCompat.BigPictureStyle | Helper class for generating large-format notifications that include a large image attachment. | ||||||||||
NotificationCompat.BigTextStyle | Helper class for generating large-format notifications that include a lot of text. | ||||||||||
NotificationCompat.Builder | Builder class for NotificationCompat objects. |
||||||||||
NotificationCompat.InboxStyle | Helper class for generating large-format notifications that include a list of (up to 5) strings. | ||||||||||
NotificationCompat.Style | An object that can apply a rich notification style to a Notification.Builder
object. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_HIGH_PRIORITY |
This constant is deprecated.
Use setPriority(int) with a positive value.
|
|||||||||
int | PRIORITY_DEFAULT | Default notification priority for setPriority(int) . |
|||||||||
int | PRIORITY_HIGH | Higher notification priority for setPriority(int) ,
for more important notifications or alerts. |
|||||||||
int | PRIORITY_LOW | Lower notification priority for setPriority(int) ,
for items that are less important. |
|||||||||
int | PRIORITY_MAX | Highest notification priority for setPriority(int) ,
for your application's most important items that require the user's
prompt attention or input. |
|||||||||
int | PRIORITY_MIN | Lowest notification priority for setPriority(int) ;
these items might not be shown to the user except under
special circumstances, such as detailed notification logs. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This constant is deprecated.
Use setPriority(int)
with a positive value.
Obsolete flag indicating high-priority notifications; use the priority field instead.
Default notification priority for setPriority(int)
.
If your application does not prioritize its own notifications,
use this value for all notifications.
Higher notification priority for 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.
Lower notification priority for 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.
Highest notification priority for setPriority(int)
,
for your application's most important items that require the user's
prompt attention or input.
Lowest notification priority for setPriority(int)
;
these items might not be shown to the user except under
special circumstances, such as detailed notification logs.