belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
NotificationCompat
public
class
NotificationCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.app.NotificationCompat |
Helper for accessing features in Notification
.
Summary
Nested classes | |
---|---|
class |
NotificationCompat.Action
Structure to encapsulate a named action that can be shown as part of this notification. |
class |
NotificationCompat.BigPictureStyle
Helper class for generating large-format notifications that include a large image attachment. |
class |
NotificationCompat.BigTextStyle
Helper class for generating large-format notifications that include a lot of text. |
class |
NotificationCompat.Builder
Builder class for |
class |
NotificationCompat.CarExtender
Helper class to add Android Auto extensions to notifications. |
class |
NotificationCompat.DecoratedCustomViewStyle
Notification style for custom views that are decorated by the system. |
interface |
NotificationCompat.Extender
Extender interface for use with |
class |
NotificationCompat.InboxStyle
Helper class for generating large-format notifications that include a list of (up to 5) strings. |
class |
NotificationCompat.MessagingStyle
Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people. |
class |
NotificationCompat.Style
An object that can apply a rich notification style to a |
class |
NotificationCompat.WearableExtender
Helper class to add wearable extensions to notifications. |
Constants | |
---|---|
int |
BADGE_ICON_LARGE
If this notification is being shown as a badge, use the icon provided to {@link Builder#setLargeIcon(Bitmap) to represent this notification. |
int |
BADGE_ICON_NONE
If this notification is being shown as a badge, always show as a number. |
int |
BADGE_ICON_SMALL
If this notification is being shown as a badge, use the icon provided to
|
String |
CATEGORY_ALARM
Notification category: alarm or timer. |
String |
CATEGORY_CALL
Notification category: incoming call (voice or video) or similar synchronous communication request. |
String |
CATEGORY_EMAIL
Notification category: asynchronous bulk message (email). |
String |
CATEGORY_ERROR
Notification category: error in background operation or authentication status. |
String |
CATEGORY_EVENT
Notification category: calendar event. |
String |
CATEGORY_MESSAGE
Notification category: incoming direct message (SMS, instant message, etc.). |
String |