# NotificationCompat

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/app/NotificationCompat.java+class:androidx.core.app.NotificationCompat) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

*** ** * ** ***


```
class NotificationCompat
```

<br />

*** ** * ** ***

Helper for accessing features in `https://developer.android.com/reference/android/app/Notification.html`.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action` Structure to encapsulate a named action that can be shown as part of this notification. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.Builder` Builder class for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action` objects. |
| `interface https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.Extender` Extender interface for use with `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.Builder#extend(androidx.core.app.NotificationCompat.Action.Extender)`. |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/IntDef(value = ) @https://developer.android.com/reference/java/lang/annotation/Retention.html(value = https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html#SOURCE) annotation https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.SemanticAction` Provides meaning to an `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action` that hints at what the associated `https://developer.android.com/reference/android/app/PendingIntent.html` will do. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.WearableExtender : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.Extender` Wearable extender for notification actions. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that include a large image attachment. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that include a lot of text. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata` Encapsulates the information needed to display a notification as a bubble. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata.Builder` Builder to construct a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata` object. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder` Builder class for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat` objects. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CallStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that include a caller and required actions, and indicate an incoming call. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Extender` Helper class to add Android Auto extensions to notifications. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation` **This class is deprecated.** `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation` is no longer supported. <br /> |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation.Builder` **This class is deprecated.** Deprecated in Java |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.DecoratedCustomViewStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Notification style for custom views that are decorated by the system. |
| `interface https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Extender` Extender interface for use with `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#extend(androidx.core.app.NotificationCompat.Extender)`. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.InboxStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that include a list of (up to 5) strings. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that include multiple back-and-forth messages of varying types between any number of people. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle.Message` |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(value = 26) class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric` A metric, used with `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MetricStyle`, and which has a value and a label. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.FixedDate : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` A metric value for showing a date. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.FixedFloat : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` Metric corresponding to a floating point value. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.FixedInt : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` Metric corresponding to an integer value. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.FixedText : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` Metric corresponding to a text value. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.FixedTime : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` A metric value for showing a clock time. |
| `abstract class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` A superclass for the various value types used by the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric` class. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.TimeDifference : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Metric.MetricValue` This represents a timer, a stopwatch, or a countdown to an event. |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/RequiresApi(value = 26) class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MetricStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` A notification style which shows up to 3 metrics when expanded. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` Helper class for generating large-format notifications that display progress to the user with a highly customizable progress bar with segments, points, a custom tracker icon, and custom icons at the start and end of the progress bar. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle.Point` A point within the progress bar, defining its position and color. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle.Segment` A segment of the progress bar, which defines its length and color. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProjectedExtender : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Extender` Helper class to add projection-specific extensions to a notification. |
| `abstract class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` An object that can apply a rich notification style to a `https://developer.android.com/reference/android/app/Notification.Builder.html` object. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.TvExtender : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Extender` Helper class to add Android TV extensions to notifications. |
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.WearableExtender : https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Extender` Helper class to add wearable extensions to notifications. |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_LARGE() = 2` If this notification is being shown as a badge, use the icon provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)` to represent this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_NONE() = 0` If this notification is being shown as a badge, always show as a number. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_SMALL() = 1` If this notification is being shown as a badge, use the icon provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSmallIcon(int)` to represent this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_ALARM() = "alarm"` Notification category: alarm or timer. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_CALL() = "call"` Notification category: incoming call (voice or video) or similar synchronous communication request. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_EMAIL() = "email"` Notification category: asynchronous bulk message (email). |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_ERROR() = "err"` Notification category: error in background operation or authentication status. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_EVENT() = "event"` Notification category: calendar event. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_LOCATION_SHARING() = "location_sharing"` Notification category: temporarily sharing location. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_MESSAGE() = "msg"` Notification category: incoming direct message (SMS, instant message, etc.). |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_MISSED_CALL() = "missed_call"` Notification category: missed call. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_NAVIGATION() = "navigation"` Notification category: map turn-by-turn navigation. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_PROGRESS() = "progress"` Notification category: progress of a long-running background operation. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_PROMO() = "promo"` Notification category: promotion or advertisement. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_RECOMMENDATION() = "recommendation"` Notification category: a specific, timely recommendation for a single thing. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_REMINDER() = "reminder"` Notification category: user-scheduled reminder. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_SERVICE() = "service"` Notification category: indication of running background service. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_SOCIAL() = "social"` Notification category: social network or sharing update. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_STATUS() = "status"` Notification category: ongoing information about device or contextual status. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_STOPWATCH() = "stopwatch"` Notification category: running stopwatch. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_SYSTEM() = "sys"` Notification category: system or device status update. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_TRANSPORT() = "transport"` Notification category: media transport control for playback. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_VOICEMAIL() = "voicemail"` Notification category: voicemail. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#CATEGORY_WORKOUT() = "workout"` Notification category: tracking a user's workout. |
| `const @https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#COLOR_DEFAULT() = 0` Value of `https://developer.android.com/reference/android/app/Notification.html#color` equal to 0 (also known as `https://developer.android.com/reference/android/graphics/Color.html#TRANSPARENT`), telling the system not to decorate this notification with any special color but instead use default colors when presenting this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#DEFAULT_ALL() = -1` Use all default values (where applicable). |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#DEFAULT_LIGHTS() = 4` Use the default notification lights. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#DEFAULT_SOUND() = 1` Use the default notification sound. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#DEFAULT_VIBRATE() = 2` Use the default notification vibrate. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_ANSWER_COLOR() = "android.answerColor"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the color used as a hint for the Answer action button of a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_ANSWER_INTENT() = "android.answerIntent"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users answers a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_AUDIO_CONTENTS_URI() = "android.audioContents"` Keys into the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` Bundle: the audio contents of this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_BACKGROUND_IMAGE_URI() = "android.backgroundImageUri"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A `https://developer.android.com/reference/android/content/ContentUris.html` pointing to an image that can be displayed in the background when the notification is selected. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_BIG_TEXT() = "android.bigText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the longer text shown in the big form of a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle` notification, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#bigText(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CALL_IS_VIDEO() = "android.callIsVideo"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification is for a call that will activate video when answered. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CALL_PERSON() = "android.callPerson"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to be displayed as calling for the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CALL_PERSON_COMPAT() = "android.callPersonCompat"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to be displayed as calling for the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification, for Android versions before the `https://developer.android.com/reference/kotlin/androidx/core/app/Person` class was introduced. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CALL_TYPE() = "android.callType"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the type of call represented by the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CHANNEL_GROUP_ID() = "android.intent.extra.CHANNEL_GROUP_ID"` Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CHANNEL_ID() = "android.intent.extra.CHANNEL_ID"` Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CHRONOMETER_COUNT_DOWN() = "android.chronometerCountDown"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the chronometer set on the notification should count down instead of counting up. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_COLORIZED() = "android.colorized"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the notification should be colorized as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setColorized(boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_COMPACT_ACTIONS() = "android.compactActions"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the indices of actions to be shown in the compact view, as supplied to (e.g.) `https://developer.android.com/reference/android/app/Notification.MediaStyle.html#setShowActionsInCompactView(int...)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_COMPAT_TEMPLATE() = "androidx.core.app.extra.COMPAT_TEMPLATE"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A string representing the name of the specific `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` used to create this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_CONVERSATION_TITLE() = "android.conversationTitle"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: a `https://developer.android.com/reference/java/lang/String.html` to be displayed as the title to a conversation represented by a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_DECLINE_COLOR() = "android.declineColor"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the color used as a hint for the Decline or Hang Up action button of a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_DECLINE_INTENT() = "android.declineIntent"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users declines a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_HANG_UP_INTENT() = "android.hangUpIntent"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users hangs up a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_HIDDEN_CONVERSATION_TITLE() = "android.hiddenConversationTitle"` Key for compat's `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle#getConversationTitle()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_HISTORIC_MESSAGES() = "android.messages.historic"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: an array of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle#addHistoricMessage(androidx.core.app.NotificationCompat.MessagingStyle.Message)``https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle.Message` bundles provided by a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_INFO_TEXT() = "android.infoText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a small piece of additional text as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentInfo(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_IS_GROUP_CONVERSATION() = "android.isGroupConversation"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification represents a group conversation. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_LARGE_ICON() = "android.largeIcon"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be used instead of the small icon when showing the notification payload, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_LARGE_ICON_BIG() = "android.largeIcon.big"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be used instead of the one from `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)` when the notification is shown in its expanded form, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigLargeIcon(android.graphics.Bitmap)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_MEDIA_SESSION() = "android.mediaSession"` Notification key: A `https://developer.android.com/reference/android/media/session/MediaSession.Token.html` associated with a `https://developer.android.com/reference/android/app/Notification.MediaStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_MESSAGES() = "android.messages"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: an array of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle.Message` bundles provided by a `https://developer.android.com/reference/android/app/Notification.MessagingStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_MESSAGING_STYLE_USER() = "android.messagingStyleUser"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to display for all messages sent by the user, including direct replies to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notifications. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_NOTIFICATION_ID() = "android.intent.extra.NOTIFICATION_ID"` Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_NOTIFICATION_TAG() = "android.intent.extra.NOTIFICATION_TAG"` Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PEOPLE() = "android.people"` **This property is deprecated.** the actual objects are now in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PEOPLE_LIST()` <br /> |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PEOPLE_LIST() = "android.people.list"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: : An arrayList of `https://developer.android.com/reference/kotlin/androidx/core/app/Person` objects containing the people that this notification relates to, each of which was supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#addPerson(androidx.core.app.Person)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PICTURE() = "android.picture"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be shown in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle` expanded notifications, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PICTURE_CONTENT_DESCRIPTION() = "android.pictureContentDescription"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a content description of the big picture supplied from `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#setContentDescription(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PICTURE_ICON() = "android.pictureIcon"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is an `https://developer.android.com/reference/android/graphics/drawable/Icon.html` of an image to be shown in `https://developer.android.com/reference/android/app/Notification.BigPictureStyle.html` expanded notifications, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.drawable.Icon)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PREFER_SMALL_ICON() = "android.app.preferSmallIcon"` extras key: requests that the notification card show the small icon instead of the launcher app icon. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS() = "android.progress"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the progress value supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_END_ICON() = "android.progressEndIcon"` extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown at the end of the progress bar in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressEndIcon(androidx.core.graphics.drawable.IconCompat)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_INDETERMINATE() = "android.progressIndeterminate"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the progress bar is indeterminate, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_MAX() = "android.progressMax"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the maximum value supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_POINTS() = "android.progressPoints"` extras key: an arraylist of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle.Point` bundles provided by a `https://developer.android.com/reference/android/app/Notification.ProgressStyle.html` notification as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressPoints(java.util.List<androidx.core.app.NotificationCompat.ProgressStyle.Point>)` or `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#addProgressPoint(androidx.core.app.NotificationCompat.ProgressStyle.Point)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_SEGMENTS() = "android.progressSegments"` extras key: an arraylist of `https://developer.android.com/reference/android/app/Notification.ProgressStyle.Segment.html` bundles provided by a `https://developer.android.com/reference/android/app/Notification.ProgressStyle.html` notification as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressSegments(java.util.List<androidx.core.app.NotificationCompat.ProgressStyle.Segment>)` or `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#addProgressSegment(androidx.core.app.NotificationCompat.ProgressStyle.Segment)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_START_ICON() = "android.progressStartIcon"` extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown at the beginning of the progress bar in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressStartIcon(androidx.core.graphics.drawable.IconCompat)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PROGRESS_TRACKER_ICON() = "android.progressTrackerIcon"` extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown as progress bar progress tracker icon in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressTrackerIcon(androidx.core.graphics.drawable.IconCompat)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_REMOTE_INPUT_HISTORY() = "android.remoteInputHistory"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the remote input history, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setRemoteInputHistory(java.lang.CharSequence[])`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_REQUEST_PROMOTED_ONGOING() = "android.requestPromotedOngoing"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: If provided, should contain a boolean indicating whether the notification is requesting promoted treatment. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SELF_DISPLAY_NAME() = "android.selfDisplayName"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the username to be displayed for all messages sent by the user including direct replies `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SHORT_CRITICAL_TEXT() = "android.shortCriticalText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: very short text summarizing the most critical information contained in the notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED() = "android.showBigPictureWhenCollapsed"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a boolean to indicate that the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)` is to be shown in the collapsed state of a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SHOW_CHRONOMETER() = "android.showChronometer"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the when field set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setWhen(long)` should be shown as a count-up timer (specifically a `https://developer.android.com/reference/android/widget/Chronometer.html`) instead of a timestamp, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setUsesChronometer(boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SHOW_WHEN() = "android.showWhen"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the when field set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setWhen(long)` should be shown, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setShowWhen(boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SMALL_ICON() = "android.icon"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the resource ID of the notification's main small icon, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSmallIcon(int)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_STYLED_BY_PROGRESS() = "android.styledByProgress"` extras key: whether the progress bar should be styled by its progress as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setStyledByProgress(boolean)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SUB_TEXT() = "android.subText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a third line of text, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSubText(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SUMMARY_TEXT() = "android.summaryText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a line of summary information intended to be shown alongside expanded notifications, as supplied to (e.g.) `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#setSummaryText(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_TEMPLATE() = "android.template"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A string representing the name of the specific `https://developer.android.com/reference/android/app/Notification.Style.html` used to create this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_TEXT() = "android.text"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the main text payload, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentText(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_TEXT_LINES() = "android.textLines"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: An array of CharSequences to show in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.InboxStyle` expanded notifications, each of which was supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.InboxStyle#addLine(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_TITLE() = "android.title"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the title of the notification, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentTitle(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_TITLE_BIG() = "android.title.big"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the title of the notification when shown in expanded form, e.g. as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#setBigContentTitle(java.lang.CharSequence)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_VERIFICATION_ICON() = "android.verificationIcon"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the icon to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_VERIFICATION_ICON_COMPAT() = "android.verificationIconCompat"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the icon to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification, for Android versions before the `https://developer.android.com/reference/android/graphics/drawable/Icon.html` class was introduced. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_VERIFICATION_TEXT() = "android.verificationText"` `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the text to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_AUTO_CANCEL() = 16` Bit set in the Notification flags field if the notification should be canceled when it is clicked by the user. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_BUBBLE() = 4096` Bit set in the Notification flags field if this notification is showing as a bubble. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_FOREGROUND_SERVICE() = 64` Bit set in the Notification flags field if this notification represents a currently running service. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_GROUP_SUMMARY() = 512` Bit set in the Notification flags field if this notification is the group summary for a group of notifications. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_HIGH_PRIORITY() = 128` **This property is deprecated.** Use `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)` with a positive value. <br /> |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_INSISTENT() = 4` Bit set in the Notification flags field if the audio will be repeated until the notification is cancelled or the notification window is opened. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_LOCAL_ONLY() = 256` Bit set in the Notification flags field if this notification is relevant to the current device only and it is not recommended that it bridge to other devices. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_NO_CLEAR() = 32` Bit set in the Notification flags field if the notification should not be canceled when the user clicks the Clear all button. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_ONGOING_EVENT() = 2` Bit set in the Notification flags field if this notification is in reference to something that is ongoing, like a phone call. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_ONLY_ALERT_ONCE() = 8` Bit set in the Notification flags field if the notification's sound, vibrate and ticker should only be played if the notification is not already showing. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_SHOW_LIGHTS() = 1` Bit set in the Notification flags field when LEDs should be turned on for this notification. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFAULT() = 0` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFERRED() = 2` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_IMMEDIATE() = 1` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_ALL() = 0` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that all notifications in a group with sound or vibration ought to make sound or vibrate (respectively), so this notification will not be muted when it is in a group. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_CHILDREN() = 2` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that the summary notification in a group should be silenced (no sound or vibration) even if they would otherwise make sound or vibrate. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_SUMMARY() = 1` Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that all children notification in a group should be silenced (no sound or vibration) even if they would otherwise make sound or vibrate. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_KEY_SILENT() = "silent"` Constant for the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroup(java.lang.String)` that's added to notifications that are not already grouped when `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setNotificationSilent()` is used when `https://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT` is \>= `https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#O`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES() = "android.intent.category.NOTIFICATION_PREFERENCES"` An activity that provides a user interface for adjusting notification preferences for its containing application. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_DEFAULT() = 0` Default notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_HIGH() = 1` Higher notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`, for more important notifications or alerts. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_LOW() = -1` Lower notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`, for items that are less important. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_MAX() = 2` Highest notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`, for your application's most important items that require the user's prompt attention or input. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_MIN() = -2` Lowest notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`; these items might not be shown to the user except under special circumstances, such as detailed notification logs. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#SEMANTIC_STYLE_CAUTION() = 3` This value is used to annotate an element as indicating caution, moderate urgency, tardiness, or another "intermediate" value on the semantic hierarchy. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#SEMANTIC_STYLE_DANGER() = 4` This value is used to annotate an element as indicating danger, extreme urgency or lateness, or another "extreme" value on the semantic hierarchy. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#SEMANTIC_STYLE_INFO() = 1` This value is used to annotate an element as indicating information that should stand out from other content, but which doesn't fall on a scale or hierarchy. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#SEMANTIC_STYLE_SAFE() = 2` This value is used to annotate an element as indicating safety, non-urgency, timeliness, or another "mild" value on the semantic hierarchy. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#SEMANTIC_STYLE_UNSPECIFIED() = 0` This is the default value for semantic style, signaling no particular semantics. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#STREAM_DEFAULT() = -1` Use this constant as the value for audioStreamType to request that the default stream type for notifications be used. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#VISIBILITY_PRIVATE() = 0` Notification visibility: Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#VISIBILITY_PUBLIC() = 1` Notification visibility: Show this notification in its entirety on all lockscreens. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#VISIBILITY_SECRET() = -1` Notification visibility: Do not reveal any part of this notification on a secure lockscreen. |

| ### Public constructors |
|---|
| `[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#NotificationCompat())()` **This function is deprecated.** This type should not be instantiated as it contains only static methods. <br /> |

| ### Public functions |
|---|---|
| `java-static https://developer.android.com/reference/android/text/ParcelableSpan.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#createSemanticStyleAnnotation(int)(semanticStyle: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Constructs an `https://developer.android.com/reference/android/text/ParcelableSpan.html` that can be used to span text in a `https://developer.android.com/reference/android/text/Spanned.html``https://developer.android.com/reference/java/lang/CharSequence.html` in some Notification text fields, and which may then be converted into styling of that section of text in order to indicate the semantic style. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getAction(android.app.Notification,int)(notification: https://developer.android.com/reference/android/app/Notification.html, actionIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Get an action on this notification in a backwards compatible manner. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getActionCount(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the number of actions in this notification in a backwards compatible manner. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getAllowSystemGeneratedContextualActions(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns whether the platform is allowed (by the app developer) to generate contextual actions for this notification. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getAutoCancel(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setAutoCancel(boolean)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getBadgeIconType(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns what icon should be shown for this notification if it is being displayed in a Launcher that supports badging. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getBubbleMetadata(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata` for a notification that will be used to display app content in a floating window over the existing foreground activity. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getCategory(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the category of this notification in a backwards compatible manner. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getChannelId(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getColor(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setColor(int)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getContentInfo(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the content info provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentInfo(java.lang.CharSequence)`. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getContentText(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the content text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentText(java.lang.CharSequence)`. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getContentTitle(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the content title provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentTitle(java.lang.CharSequence)`. |
| `java-static https://developer.android.com/reference/android/os/Bundle.html?` | `@https://developer.android.com/reference/kotlin/androidx/annotation/ReplaceWith(expression = "notification.extras") [getExtras](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification))(notification: https://developer.android.com/reference/android/app/Notification.html)` **This function is deprecated.** Call `https://developer.android.com/reference/android/app/Notification.html#extras` directly. <br /> |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getGroup(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the key used to group this notification into a cluster or stack with other notifications on devices which support such rendering. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getGroupAlertBehavior(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns which type of notifications in a group are responsible for audibly alerting the user. |
| `java-static (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action!>` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getInvisibleActions(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the invisible actions contained within the given notification. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getLocalOnly(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get whether or not this notification is only relevant to the current device. |
| `java-static https://developer.android.com/reference/kotlin/androidx/core/content/LocusIdCompat?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getLocusId(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Gets the `https://developer.android.com/reference/kotlin/androidx/core/content/LocusIdCompat` associated with this notification. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getOngoing(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setOngoing(boolean)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getOnlyAlertOnce(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setOnlyAlertOnce(boolean)` |
| `java-static (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/core/app/Person!>` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getPeople(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the people in the notification. |
| `java-static https://developer.android.com/reference/android/app/Notification.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getPublicVersion(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setVisibility(int)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getSettingsText(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the settings text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSettingsText(java.lang.CharSequence)`. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getShortCriticalText(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the very short text summarizing the most critical information contained in the notification, or null if this field was not set. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getShortcutId(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the `https://developer.android.com/reference/kotlin/androidx/core/content/pm/ShortcutInfoCompat#getId()` that this notification supersedes, if any. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getShowWhen(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setShowWhen(boolean)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getSortKey(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get a sort key that orders this notification among other notifications from the same package. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getSubText(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the sub text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSubText(java.lang.CharSequence)`. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getTimeoutAfter(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns the time at which this notification should be canceled by the system, if it's not canceled already. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getUsesChronometer(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setUsesChronometer(boolean)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getVisibility(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setVisibility(int)` |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#hasPromotableCharacteristics(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns whether the notification has any promotable characteristics. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#isGroupSummary(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Get whether this notification to be the group summary for a group of notifications. |
| `java-static https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#isRequestPromotedOngoing(android.app.Notification)(notification: https://developer.android.com/reference/android/app/Notification.html)` Returns whether this notification has requested to be a promoted ongoing notification. |
| `java-static https://developer.android.com/reference/android/graphics/Bitmap.html?` | `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#reduceLargeIconSize(android.content.Context,android.graphics.Bitmap)(context: https://developer.android.com/reference/android/content/Context.html, icon: https://developer.android.com/reference/android/graphics/Bitmap.html?)` Reduces the size of a provided `icon` if it's larger than the maximum allowed for a notification large icon; returns the resized icon. |

## Constants

### BADGE_ICON_LARGE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val BADGE_ICON_LARGE = 2: Int
```

If this notification is being shown as a badge, use the icon provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)` to represent this notification.

### BADGE_ICON_NONE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val BADGE_ICON_NONE = 0: Int
```

If this notification is being shown as a badge, always show as a number.

### BADGE_ICON_SMALL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val BADGE_ICON_SMALL = 1: Int
```

If this notification is being shown as a badge, use the icon provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSmallIcon(int)` to represent this notification.

### CATEGORY_ALARM

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_ALARM = "alarm": String!
```

Notification category: alarm or timer.

### CATEGORY_CALL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_CALL = "call": String!
```

Notification category: incoming call (voice or video) or similar synchronous communication request.

### CATEGORY_EMAIL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_EMAIL = "email": String!
```

Notification category: asynchronous bulk message (email).

### CATEGORY_ERROR

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_ERROR = "err": String!
```

Notification category: error in background operation or authentication status.

### CATEGORY_EVENT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_EVENT = "event": String!
```

Notification category: calendar event.

### CATEGORY_LOCATION_SHARING

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val CATEGORY_LOCATION_SHARING = "location_sharing": String!
```

Notification category: temporarily sharing location.

### CATEGORY_MESSAGE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_MESSAGE = "msg": String!
```

Notification category: incoming direct message (SMS, instant message, etc.).

### CATEGORY_MISSED_CALL

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val CATEGORY_MISSED_CALL = "missed_call": String!
```

Notification category: missed call.

### CATEGORY_NAVIGATION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_NAVIGATION = "navigation": String!
```

Notification category: map turn-by-turn navigation.

### CATEGORY_PROGRESS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_PROGRESS = "progress": String!
```

Notification category: progress of a long-running background operation.

### CATEGORY_PROMO

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_PROMO = "promo": String!
```

Notification category: promotion or advertisement.

### CATEGORY_RECOMMENDATION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_RECOMMENDATION = "recommendation": String!
```

Notification category: a specific, timely recommendation for a single thing. For example, a news app might want to recommend a news story it believes the user will want to read next.

### CATEGORY_REMINDER

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_REMINDER = "reminder": String!
```

Notification category: user-scheduled reminder.

### CATEGORY_SERVICE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_SERVICE = "service": String!
```

Notification category: indication of running background service.

### CATEGORY_SOCIAL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_SOCIAL = "social": String!
```

Notification category: social network or sharing update.

### CATEGORY_STATUS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_STATUS = "status": String!
```

Notification category: ongoing information about device or contextual status.

### CATEGORY_STOPWATCH

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val CATEGORY_STOPWATCH = "stopwatch": String!
```

Notification category: running stopwatch.

### CATEGORY_SYSTEM

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_SYSTEM = "sys": String!
```

Notification category: system or device status update. Reserved for system use.

### CATEGORY_TRANSPORT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val CATEGORY_TRANSPORT = "transport": String!
```

Notification category: media transport control for playback.

### CATEGORY_VOICEMAIL

Added in [1.15.0](https://developer.android.com/jetpack/androidx/releases/core#1.15.0)

```
const val CATEGORY_VOICEMAIL = "voicemail": String!
```

Notification category: voicemail.

### CATEGORY_WORKOUT

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val CATEGORY_WORKOUT = "workout": String!
```

Notification category: tracking a user's workout.

### COLOR_DEFAULT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val COLOR_DEFAULT = 0: @ColorInt Int
```

Value of `https://developer.android.com/reference/android/app/Notification.html#color` equal to 0 (also known as `https://developer.android.com/reference/android/graphics/Color.html#TRANSPARENT`), telling the system not to decorate this notification with any special color but instead use default colors when presenting this notification.

### DEFAULT_ALL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val DEFAULT_ALL = -1: Int
```

Use all default values (where applicable).

### DEFAULT_LIGHTS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val DEFAULT_LIGHTS = 4: Int
```

Use the default notification lights. This will ignore the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FLAG_SHOW_LIGHTS()` bit, and values set with `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLights(int,int,int)`.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setDefaults(int)` |   |

### DEFAULT_SOUND

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val DEFAULT_SOUND = 1: Int
```

Use the default notification sound. This will ignore any sound set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSound(android.net.Uri)`

A notification that is noisy is more likely to be presented as a heads-up notification, on some platforms.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setDefaults(int)` |   |

### DEFAULT_VIBRATE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val DEFAULT_VIBRATE = 2: Int
```

Use the default notification vibrate. This will ignore any vibrate set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setVibrate(long[])`. Using phone vibration requires the `https://developer.android.com/reference/android/Manifest.permission.html#VIBRATE` permission.

A notification that vibrates is more likely to be presented as a heads-up notification, on some platforms.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setDefaults(int)` |   |

### EXTRA_ANSWER_COLOR

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_ANSWER_COLOR = "android.answerColor": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the color used as a hint for the Answer action button of a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt`.

### EXTRA_ANSWER_INTENT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_ANSWER_INTENT = "android.answerIntent": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users answers a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/android/app/PendingIntent.html`.

### EXTRA_AUDIO_CONTENTS_URI

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_AUDIO_CONTENTS_URI = "android.audioContents": String!
```

Keys into the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` Bundle: the audio contents of this notification. This is for use when rendering the notification on an audio-focused interface; the audio contents are a complete sound sample that contains the contents/body of the notification. This may be used in substitute of a Text-to-Speech reading of the notification. For example if the notification represents a voice message this should point to the audio of that message. The data stored under this key should be a String representation of a Uri that contains the audio contents in one of the following formats: WAV, PCM 16-bit, AMR-WB. This extra is unnecessary if you are using `MessagingStyle` since each `Message` has a field for holding data URI. That field can be used for audio. See `Message#setData`. Example usage:

```kotlin
NotificationCompat.Builder myBuilder = (build your Notification as normal);
myBuilder.getExtras().putString(EXTRA_AUDIO_CONTENTS_URI, myAudioUri.toString());
```

### EXTRA_BACKGROUND_IMAGE_URI

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_BACKGROUND_IMAGE_URI = "android.backgroundImageUri": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A `https://developer.android.com/reference/android/content/ContentUris.html` pointing to an image that can be displayed in the background when the notification is selected. The URI must point to an image stream suitable for passing into `https://developer.android.com/reference/android/graphics/BitmapFactory.html#decodeStream(java.io.InputStream)`; all other content types will be ignored. The content provider URI used for this purpose must require no permissions to read the image data.

### EXTRA_BIG_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_BIG_TEXT = "android.bigText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the longer text shown in the big form of a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle` notification, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#bigText(java.lang.CharSequence)`.

### EXTRA_CALL_IS_VIDEO

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_CALL_IS_VIDEO = "android.callIsVideo": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification is for a call that will activate video when answered. This extra is a boolean.

### EXTRA_CALL_PERSON

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_CALL_PERSON = "android.callPerson": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to be displayed as calling for the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/kotlin/androidx/core/app/Person`.

### EXTRA_CALL_PERSON_COMPAT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_CALL_PERSON_COMPAT = "android.callPersonCompat": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to be displayed as calling for the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification, for Android versions before the `https://developer.android.com/reference/kotlin/androidx/core/app/Person` class was introduced. This extra is a `https://developer.android.com/reference/android/os/Bundle.html` representing a `https://developer.android.com/reference/kotlin/androidx/core/app/Person`.

### EXTRA_CALL_TYPE

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_CALL_TYPE = "android.callType": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the type of call represented by the `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is an int.

### EXTRA_CHANNEL_GROUP_ID

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_CHANNEL_GROUP_ID = "android.intent.extra.CHANNEL_GROUP_ID": String!
```

Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. If provided, will contain a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationChannelGroupCompat#getId()` that can be used to narrow down what settings should be shown in the target app.

### EXTRA_CHANNEL_ID

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_CHANNEL_ID = "android.intent.extra.CHANNEL_ID": String!
```

Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. If provided, will contain a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationChannelCompat#getId()` that can be used to narrow down what settings should be shown in the target app.

### EXTRA_CHRONOMETER_COUNT_DOWN

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
const val EXTRA_CHRONOMETER_COUNT_DOWN = "android.chronometerCountDown": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the chronometer set on the notification should count down instead of counting up. Is only relevant if key `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_SHOW_CHRONOMETER()` is present. This extra is a boolean. The default is (@code false).

### EXTRA_COLORIZED

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_COLORIZED = "android.colorized": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the notification should be colorized as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setColorized(boolean)`.

### EXTRA_COMPACT_ACTIONS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_COMPACT_ACTIONS = "android.compactActions": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the indices of actions to be shown in the compact view, as supplied to (e.g.) `https://developer.android.com/reference/android/app/Notification.MediaStyle.html#setShowActionsInCompactView(int...)`.

### EXTRA_COMPAT_TEMPLATE

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_COMPAT_TEMPLATE = "androidx.core.app.extra.COMPAT_TEMPLATE": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A string representing the name of the specific `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Style` used to create this notification.

### EXTRA_CONVERSATION_TITLE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_CONVERSATION_TITLE = "android.conversationTitle": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: a `https://developer.android.com/reference/java/lang/String.html` to be displayed as the title to a conversation represented by a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle`.

### EXTRA_DECLINE_COLOR

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_DECLINE_COLOR = "android.declineColor": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the color used as a hint for the Decline or Hang Up action button of a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/kotlin/androidx/annotation/ColorInt`.

### EXTRA_DECLINE_INTENT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_DECLINE_INTENT = "android.declineIntent": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users declines a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/android/app/PendingIntent.html`.

### EXTRA_HANG_UP_INTENT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_HANG_UP_INTENT = "android.hangUpIntent": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the intent to be sent when the users hangs up a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/android/app/PendingIntent.html`.

### EXTRA_HIDDEN_CONVERSATION_TITLE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_HIDDEN_CONVERSATION_TITLE = "android.hiddenConversationTitle": String!
```

Key for compat's `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle#getConversationTitle()`. This allows backwards support for conversation titles as SDK


### EXTRA_HISTORIC_MESSAGES

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_HISTORIC_MESSAGES = "android.messages.historic": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: an array of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle#addHistoricMessage(androidx.core.app.NotificationCompat.MessagingStyle.Message)``https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle.Message` bundles provided by a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification. This extra is a parcelable array of `https://developer.android.com/reference/android/os/Bundle.html` objects.

### EXTRA_INFO_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_INFO_TEXT = "android.infoText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a small piece of additional text as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentInfo(java.lang.CharSequence)`.

### EXTRA_IS_GROUP_CONVERSATION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_IS_GROUP_CONVERSATION = "android.isGroupConversation": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification represents a group conversation.

### EXTRA_LARGE_ICON

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_LARGE_ICON = "android.largeIcon": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be used instead of the small icon when showing the notification payload, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)`.

### EXTRA_LARGE_ICON_BIG

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_LARGE_ICON_BIG = "android.largeIcon.big": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be used instead of the one from `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)` when the notification is shown in its expanded form, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigLargeIcon(android.graphics.Bitmap)`.

### EXTRA_MEDIA_SESSION

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_MEDIA_SESSION = "android.mediaSession": String!
```

Notification key: A `https://developer.android.com/reference/android/media/session/MediaSession.Token.html` associated with a `https://developer.android.com/reference/android/app/Notification.MediaStyle.html` notification.

### EXTRA_MESSAGES

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_MESSAGES = "android.messages": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: an array of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle.Message` bundles provided by a `https://developer.android.com/reference/android/app/Notification.MessagingStyle.html` notification. This extra is a parcelable array of `https://developer.android.com/reference/android/os/Bundle.html` objects.

### EXTRA_MESSAGING_STYLE_USER

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_MESSAGING_STYLE_USER = "android.messagingStyleUser": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the person to display for all messages sent by the user, including direct replies to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notifications.

### EXTRA_NOTIFICATION_ID

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_NOTIFICATION_ID = "android.intent.extra.NOTIFICATION_ID": String!
```

Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. If provided, will contain the id provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationManagerCompat#notify(java.lang.String,int,android.app.Notification)` that can be used to narrow down what settings should be shown in the target app.

### EXTRA_NOTIFICATION_TAG

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_NOTIFICATION_TAG = "android.intent.extra.NOTIFICATION_TAG": String!
```

Optional extra for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#INTENT_CATEGORY_NOTIFICATION_PREFERENCES()`. If provided, will contain the tag provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationManagerCompat#notify(java.lang.String,int,android.app.Notification)` that can be used to narrow down what settings should be shown in the target app.

### EXTRA_PEOPLE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_PEOPLE = "android.people": String!
```

> [!CAUTION]
> **This property is deprecated.**   
>
> the actual objects are now in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#EXTRA_PEOPLE_LIST()`

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A String array containing the people that this notification relates to, each of which was supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#addPerson(java.lang.String)`.

### EXTRA_PEOPLE_LIST

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val EXTRA_PEOPLE_LIST = "android.people.list": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: : An arrayList of `https://developer.android.com/reference/kotlin/androidx/core/app/Person` objects containing the people that this notification relates to, each of which was supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#addPerson(androidx.core.app.Person)`.

### EXTRA_PICTURE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_PICTURE = "android.picture": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a bitmap to be shown in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle` expanded notifications, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)`.

### EXTRA_PICTURE_CONTENT_DESCRIPTION

Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/core#1.8.0)

```
const val EXTRA_PICTURE_CONTENT_DESCRIPTION = "android.pictureContentDescription": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a content description of the big picture supplied from `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#setContentDescription(java.lang.CharSequence)`.

### EXTRA_PICTURE_ICON

Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/core#1.9.0)

```
const val EXTRA_PICTURE_ICON = "android.pictureIcon": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is an `https://developer.android.com/reference/android/graphics/drawable/Icon.html` of an image to be shown in `https://developer.android.com/reference/android/app/Notification.BigPictureStyle.html` expanded notifications, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.drawable.Icon)`.

### EXTRA_PREFER_SMALL_ICON

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val EXTRA_PREFER_SMALL_ICON = "android.app.preferSmallIcon": String!
```

extras key: requests that the notification card show the small icon instead of the launcher app icon.

### EXTRA_PROGRESS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_PROGRESS = "android.progress": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the progress value supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`.

### EXTRA_PROGRESS_END_ICON

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_PROGRESS_END_ICON = "android.progressEndIcon": String!
```

extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown at the end of the progress bar in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressEndIcon(androidx.core.graphics.drawable.IconCompat)`.

### EXTRA_PROGRESS_INDETERMINATE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_PROGRESS_INDETERMINATE = "android.progressIndeterminate": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the progress bar is indeterminate, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`.

### EXTRA_PROGRESS_MAX

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_PROGRESS_MAX = "android.progressMax": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the maximum value supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setProgress(int,int,boolean)`.

### EXTRA_PROGRESS_POINTS

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_PROGRESS_POINTS = "android.progressPoints": String!
```

extras key: an arraylist of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle.Point` bundles provided by a `https://developer.android.com/reference/android/app/Notification.ProgressStyle.html` notification as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressPoints(java.util.List<androidx.core.app.NotificationCompat.ProgressStyle.Point>)` or `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#addProgressPoint(androidx.core.app.NotificationCompat.ProgressStyle.Point)`. This extra is a parcelable array list of bundles.

### EXTRA_PROGRESS_SEGMENTS

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_PROGRESS_SEGMENTS = "android.progressSegments": String!
```

extras key: an arraylist of `https://developer.android.com/reference/android/app/Notification.ProgressStyle.Segment.html` bundles provided by a `https://developer.android.com/reference/android/app/Notification.ProgressStyle.html` notification as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressSegments(java.util.List<androidx.core.app.NotificationCompat.ProgressStyle.Segment>)` or `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#addProgressSegment(androidx.core.app.NotificationCompat.ProgressStyle.Segment)`. This extra is a parcelable array list of bundles.

### EXTRA_PROGRESS_START_ICON

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_PROGRESS_START_ICON = "android.progressStartIcon": String!
```

extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown at the beginning of the progress bar in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressStartIcon(androidx.core.graphics.drawable.IconCompat)`.

### EXTRA_PROGRESS_TRACKER_ICON

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_PROGRESS_TRACKER_ICON = "android.progressTrackerIcon": String!
```

extras key: this is an `https://developer.android.com/reference/kotlin/androidx/core/graphics/drawable/IconCompat` of an image to be shown as progress bar progress tracker icon in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle`, supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setProgressTrackerIcon(androidx.core.graphics.drawable.IconCompat)`.

### EXTRA_REMOTE_INPUT_HISTORY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_REMOTE_INPUT_HISTORY = "android.remoteInputHistory": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the remote input history, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setRemoteInputHistory(java.lang.CharSequence[])`. Apps can fill this through `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setRemoteInputHistory(java.lang.CharSequence[])` with the most recent inputs that have been sent through a `https://developer.android.com/reference/kotlin/androidx/core/app/RemoteInput` of this Notification and are expected to clear it once the it is no longer relevant (e.g. for chat notifications once the other party has responded). The extra with this key is of type CharSequence\[\] and contains the most recent entry at the 0 index, the second most recent at the 1 index, etc.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setRemoteInputHistory(java.lang.CharSequence[])` |   |

### EXTRA_REQUEST_PROMOTED_ONGOING

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_REQUEST_PROMOTED_ONGOING = "android.requestPromotedOngoing": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: If provided, should contain a boolean indicating whether the notification is requesting promoted treatment.

### EXTRA_SELF_DISPLAY_NAME

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SELF_DISPLAY_NAME = "android.selfDisplayName": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the username to be displayed for all messages sent by the user including direct replies `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` notification.

### EXTRA_SHORT_CRITICAL_TEXT

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_SHORT_CRITICAL_TEXT = "android.shortCriticalText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: very short text summarizing the most critical information contained in the notification.

### EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED

Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/core#1.7.0)

```
const val EXTRA_SHOW_BIG_PICTURE_WHEN_COLLAPSED = "android.showBigPictureWhenCollapsed": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a boolean to indicate that the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle#bigPicture(android.graphics.Bitmap)` is to be shown in the collapsed state of a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigPictureStyle` notification. This will replace a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setLargeIcon(android.graphics.Bitmap)` in that state if one was provided.

### EXTRA_SHOW_CHRONOMETER

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SHOW_CHRONOMETER = "android.showChronometer": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the when field set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setWhen(long)` should be shown as a count-up timer (specifically a `https://developer.android.com/reference/android/widget/Chronometer.html`) instead of a timestamp, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setUsesChronometer(boolean)`.

### EXTRA_SHOW_WHEN

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SHOW_WHEN = "android.showWhen": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: whether the when field set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setWhen(long)` should be shown, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setShowWhen(boolean)`.

### EXTRA_SMALL_ICON

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SMALL_ICON = "android.icon": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the resource ID of the notification's main small icon, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSmallIcon(int)`.

### EXTRA_STYLED_BY_PROGRESS

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
const val EXTRA_STYLED_BY_PROGRESS = "android.styledByProgress": String!
```

extras key: whether the progress bar should be styled by its progress as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle#setStyledByProgress(boolean)`. This extra is a boolean.

### EXTRA_SUB_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SUB_TEXT = "android.subText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a third line of text, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSubText(java.lang.CharSequence)`.

### EXTRA_SUMMARY_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_SUMMARY_TEXT = "android.summaryText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is a line of summary information intended to be shown alongside expanded notifications, as supplied to (e.g.) `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#setSummaryText(java.lang.CharSequence)`.

### EXTRA_TEMPLATE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_TEMPLATE = "android.template": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: A string representing the name of the specific `https://developer.android.com/reference/android/app/Notification.Style.html` used to create this notification.

### EXTRA_TEXT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_TEXT = "android.text": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the main text payload, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentText(java.lang.CharSequence)`.

### EXTRA_TEXT_LINES

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_TEXT_LINES = "android.textLines": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: An array of CharSequences to show in `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.InboxStyle` expanded notifications, each of which was supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.InboxStyle#addLine(java.lang.CharSequence)`.

### EXTRA_TITLE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_TITLE = "android.title": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the title of the notification, as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentTitle(java.lang.CharSequence)`.

### EXTRA_TITLE_BIG

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val EXTRA_TITLE_BIG = "android.title.big": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: this is the title of the notification when shown in expanded form, e.g. as supplied to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BigTextStyle#setBigContentTitle(java.lang.CharSequence)`.

### EXTRA_VERIFICATION_ICON

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_VERIFICATION_ICON = "android.verificationIcon": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the icon to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is an `https://developer.android.com/reference/android/graphics/drawable/Icon.html`.

### EXTRA_VERIFICATION_ICON_COMPAT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_VERIFICATION_ICON_COMPAT = "android.verificationIconCompat": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the icon to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification, for Android versions before the `https://developer.android.com/reference/android/graphics/drawable/Icon.html` class was introduced. This extra is an `https://developer.android.com/reference/android/os/Bundle.html` representing an `https://developer.android.com/reference/android/graphics/drawable/Icon.html`.

### EXTRA_VERIFICATION_TEXT

Added in [1.10.0](https://developer.android.com/jetpack/androidx/releases/core#1.10.0)

```
const val EXTRA_VERIFICATION_TEXT = "android.verificationText": String!
```

`https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification)` key: the text to be displayed as a verification status of the caller on a `https://developer.android.com/reference/android/app/Notification.CallStyle.html` notification. This extra is a `https://developer.android.com/reference/java/lang/CharSequence.html`.

### FLAG_AUTO_CANCEL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_AUTO_CANCEL = 16: Int
```

Bit set in the Notification flags field if the notification should be canceled when it is clicked by the user.

### FLAG_BUBBLE

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
const val FLAG_BUBBLE = 4096: Int
```

Bit set in the Notification flags field if this notification is showing as a bubble. Applications cannot set this flag directly; they should instead call `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setBubbleMetadata(androidx.core.app.NotificationCompat.BubbleMetadata)` to request that a notification be displayed as a bubble, and then check this flag to see whether that request was honored by the system.

### FLAG_FOREGROUND_SERVICE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_FOREGROUND_SERVICE = 64: Int
```

Bit set in the Notification flags field if this notification represents a currently running service. This will normally be set for you by `https://developer.android.com/reference/android/app/Service.html#startForeground(int, android.app.Notification)`.

### FLAG_GROUP_SUMMARY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_GROUP_SUMMARY = 512: Int
```

Bit set in the Notification flags field if this notification is the group summary for a group of notifications. Grouped notifications may display in a cluster or stack on devices which support such rendering. Requires a group key also be set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroup(java.lang.String)`.

### FLAG_HIGH_PRIORITY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_HIGH_PRIORITY = 128: Int
```

> [!CAUTION]
> **This property is deprecated.**   
>
> Use `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)` with a positive value.

Obsolete flag indicating high-priority notifications; use the priority field instead.

### FLAG_INSISTENT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_INSISTENT = 4: Int
```

Bit set in the Notification flags field if the audio will be repeated until the notification is cancelled or the notification window is opened.

### FLAG_LOCAL_ONLY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_LOCAL_ONLY = 256: Int
```

Bit set in the Notification flags field if this notification is relevant to the current device only and it is not recommended that it bridge to other devices.

### FLAG_NO_CLEAR

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_NO_CLEAR = 32: Int
```

Bit set in the Notification flags field if the notification should not be canceled when the user clicks the Clear all button.

### FLAG_ONGOING_EVENT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_ONGOING_EVENT = 2: Int
```

Bit set in the Notification flags field if this notification is in reference to something that is ongoing, like a phone call. It should not be set if this notification is in reference to something that happened at a particular point in time, like a missed phone call.

### FLAG_ONLY_ALERT_ONCE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_ONLY_ALERT_ONCE = 8: Int
```

Bit set in the Notification flags field if the notification's sound, vibrate and ticker should only be played if the notification is not already showing.

### FLAG_SHOW_LIGHTS

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val FLAG_SHOW_LIGHTS = 1: Int
```

Bit set in the Notification flags field when LEDs should be turned on for this notification.

### FOREGROUND_SERVICE_DEFAULT

Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/core#1.7.0)

```
const val FOREGROUND_SERVICE_DEFAULT = 0: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. In Android 12 or later, if the Notification associated with starting a foreground service has been built using setForegroundServiceBehavior() with this behavior, display of the notification will often be suppressed for a short time to avoid visual disturbances to the user.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_IMMEDIATE()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFERRED()` |   |

### FOREGROUND_SERVICE_DEFERRED

Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/core#1.7.0)

```
const val FOREGROUND_SERVICE_DEFERRED = 2: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. In Android 12 or later, if the Notification associated with starting a foreground service has been built using setForegroundServiceBehavior() with this behavior, display of the notification will usually be suppressed for a short time to avoid visual disturbances to the user.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFAULT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_IMMEDIATE()` |   |

### FOREGROUND_SERVICE_IMMEDIATE

Added in [1.7.0](https://developer.android.com/jetpack/androidx/releases/core#1.7.0)

```
const val FOREGROUND_SERVICE_IMMEDIATE = 1: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)`. In Android 12 or later, if the Notification associated with starting a foreground service has been built using setForegroundServiceBehavior() with this behavior, display of the notification will be immediate even if the default behavior would be to defer visibility for a short time.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setForegroundServiceBehavior(int)` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFAULT()` |   |
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#FOREGROUND_SERVICE_DEFERRED()` |   |

### GROUP_ALERT_ALL

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val GROUP_ALERT_ALL = 0: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that all notifications in a group with sound or vibration ought to make sound or vibrate (respectively), so this notification will not be muted when it is in a group.

### GROUP_ALERT_CHILDREN

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val GROUP_ALERT_CHILDREN = 2: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that the summary notification in a group should be silenced (no sound or vibration) even if they would otherwise make sound or vibrate. Use this constant to mute this notification if this notification is a group summary.

For example, you might want to use this constant if only the children notifications in your group have content and the summary is only used to visually group notifications rather than to alert the user that new information is available.

### GROUP_ALERT_SUMMARY

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val GROUP_ALERT_SUMMARY = 1: Int
```

Constant for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroupAlertBehavior(int)`, meaning that all children notification in a group should be silenced (no sound or vibration) even if they would otherwise make sound or vibrate. Use this constant to mute this notification if this notification is a group child. This must be applied to all children notifications you want to mute.

For example, you might want to use this constant if you post a number of children notifications at once (say, after a periodic sync), and only need to notify the user audibly once.

### GROUP_KEY_SILENT

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
const val GROUP_KEY_SILENT = "silent": String!
```

Constant for the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroup(java.lang.String)` that's added to notifications that are not already grouped when `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setNotificationSilent()` is used when `https://developer.android.com/reference/android/os/Build.VERSION.html#SDK_INT` is \>= `https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#O`.

### INTENT_CATEGORY_NOTIFICATION_PREFERENCES

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
const val INTENT_CATEGORY_NOTIFICATION_PREFERENCES = "android.intent.category.NOTIFICATION_PREFERENCES": String!
```

An activity that provides a user interface for adjusting notification preferences for its containing application.

### PRIORITY_DEFAULT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val PRIORITY_DEFAULT = 0: Int
```

Default notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`. If your application does not prioritize its own notifications, use this value for all notifications.

### PRIORITY_HIGH

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val PRIORITY_HIGH = 1: Int
```

Higher notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/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 `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_DEFAULT()` items.

### PRIORITY_LOW

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val PRIORITY_LOW = -1: Int
```

Lower notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/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 `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#PRIORITY_DEFAULT()` items.

### PRIORITY_MAX

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val PRIORITY_MAX = 2: Int
```

Highest notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`, for your application's most important items that require the user's prompt attention or input.

### PRIORITY_MIN

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val PRIORITY_MIN = -2: Int
```

Lowest notification priority for `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setPriority(int)`; these items might not be shown to the user except under special circumstances, such as detailed notification logs.

### SEMANTIC_STYLE_CAUTION

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val SEMANTIC_STYLE_CAUTION = 3: Int
```

This value is used to annotate an element as indicating caution, moderate urgency, tardiness, or another "intermediate" value on the semantic hierarchy.

Caution is generally represented to users by styling the element with a yellow or orange color.

### SEMANTIC_STYLE_DANGER

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val SEMANTIC_STYLE_DANGER = 4: Int
```

This value is used to annotate an element as indicating danger, extreme urgency or lateness, or another "extreme" value on the semantic hierarchy.

Danger is generally represented to users by styling the element with a red color.

### SEMANTIC_STYLE_INFO

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val SEMANTIC_STYLE_INFO = 1: Int
```

This value is used to annotate an element as indicating information that should stand out from other content, but which doesn't fall on a scale or hierarchy. This can be thought of as a more neutral value that may be used in cases where the element is intended to stand out against elements with the other semantic styles -- for example if a `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.ProgressStyle` bar uses semantic style to color segments, this style would be appropriate for segments where the semantic hierarchy is unhelpful to the user.

Info is generally represented to users by styling the element with a color (like blue) that is clearly distinct from the colors used for other styles.

### SEMANTIC_STYLE_SAFE

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val SEMANTIC_STYLE_SAFE = 2: Int
```

This value is used to annotate an element as indicating safety, non-urgency, timeliness, or another "mild" value on the semantic hierarchy.

Safety is generally represented to users by styling the element with a green color.

### SEMANTIC_STYLE_UNSPECIFIED

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
const val SEMANTIC_STYLE_UNSPECIFIED = 0: Int
```

This is the default value for semantic style, signaling no particular semantics. An `https://developer.android.com/reference/android/text/Annotation.html` with this style has no effect.

### STREAM_DEFAULT

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val STREAM_DEFAULT = -1: Int
```

Use this constant as the value for audioStreamType to request that the default stream type for notifications be used. Currently the default stream type is `https://developer.android.com/reference/android/media/AudioManager.html#STREAM_NOTIFICATION`.

### VISIBILITY_PRIVATE

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val VISIBILITY_PRIVATE = 0: Int
```

Notification visibility: Show this notification on all lockscreens, but conceal sensitive or private information on secure lockscreens. {@see android.app.Notification#visibility}

### VISIBILITY_PUBLIC

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val VISIBILITY_PUBLIC = 1: Int
```

Notification visibility: Show this notification in its entirety on all lockscreens. {@see android.app.Notification#visibility}

### VISIBILITY_SECRET

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
const val VISIBILITY_SECRET = -1: Int
```

Notification visibility: Do not reveal any part of this notification on a secure lockscreen. {@see android.app.Notification#visibility}

## Public constructors

### NotificationCompat

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#NotificationCompat())()
```

> [!CAUTION]
> **This function is deprecated.**   
>
> This type should not be instantiated as it contains only static methods.

## Public functions

### createSemanticStyleAnnotation

Added in [1.19.1](https://developer.android.com/jetpack/androidx/releases/core#1.19.1)

```
java-static fun createSemanticStyleAnnotation(semanticStyle: Int): ParcelableSpan
```

Constructs an `https://developer.android.com/reference/android/text/ParcelableSpan.html` that can be used to span text in a `https://developer.android.com/reference/android/text/Spanned.html``https://developer.android.com/reference/java/lang/CharSequence.html` in some Notification text fields, and which may then be converted into styling of that section of text in order to indicate the semantic style. Since Notifications may strip styling, even for semantic styles, it's important that stripping these styles should not distort the meaning of the text.

Semantic style will only be applied to text appearance in notifications that are eligible (e.g. `https://developer.android.com/reference/android/app/Notification.html#FLAG_PROMOTED_ONGOING` notifications).

| See also |
|---|---|
| `https://developer.android.com/reference/android/text/Spannable.html#setSpan(java.lang.Object, int, int, int)` |   |

### getAction

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getAction(notification: Notification, actionIndex: Int): NotificationCompat.Action?
```

Get an action on this notification in a backwards compatible manner. Actions were supported from JellyBean (Api level 16) forwards.

| Parameters |
|---|---|
| `notification: https://developer.android.com/reference/android/app/Notification.html` | The notification to inspect. |
| `actionIndex: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | The index of the action to retrieve. |

### getActionCount

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getActionCount(notification: Notification): Int
```

Get the number of actions in this notification in a backwards compatible manner. Actions were supported from JellyBean (Api level 16) forwards.

### getAllowSystemGeneratedContextualActions

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
java-static fun getAllowSystemGeneratedContextualActions(notification: Notification): Boolean
```

Returns whether the platform is allowed (by the app developer) to generate contextual actions for this notification.

### getAutoCancel

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getAutoCancel(notification: Notification): Boolean
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setAutoCancel(boolean)`

### getBadgeIconType

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getBadgeIconType(notification: Notification): Int
```

Returns what icon should be shown for this notification if it is being displayed in a Launcher that supports badging. Will be one of `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_NONE()`, `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_SMALL()`, or `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#BADGE_ICON_LARGE()`.

### getBubbleMetadata

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
java-static fun getBubbleMetadata(notification: Notification): NotificationCompat.BubbleMetadata?
```

Get the `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata` for a notification that will be used to display app content in a floating window over the existing foreground activity.

| Parameters |
|---|---|
| `notification: https://developer.android.com/reference/android/app/Notification.html` | the notification to inspect |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.BubbleMetadata?` | the BubbleMetadata if available and set, otherwise null |

### getCategory

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getCategory(notification: Notification): String?
```

Get the category of this notification in a backwards compatible manner.

| Parameters |
|---|---|
| `notification: https://developer.android.com/reference/android/app/Notification.html` | The notification to inspect. |

### getChannelId

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getChannelId(notification: Notification): String?
```

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | the ID of the channel this notification posts to. |

### getColor

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getColor(notification: Notification): Int
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setColor(int)`

### getContentInfo

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getContentInfo(notification: Notification): CharSequence?
```

Returns the content info provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentInfo(java.lang.CharSequence)`.

### getContentText

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getContentText(notification: Notification): CharSequence?
```

Returns the content text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentText(java.lang.CharSequence)`.

### getContentTitle

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getContentTitle(notification: Notification): CharSequence?
```

Returns the content title provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setContentTitle(java.lang.CharSequence)`.

### getExtras

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.15.0](https://developer.android.com/jetpack/androidx/releases/core#1.15.0)

```
@ReplaceWith(expression = "notification.extras")
java-static fun [getExtras](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getExtras(android.app.Notification))(notification: Notification): Bundle?
```

> [!CAUTION]
> **This function is deprecated.**   
>
> Call `https://developer.android.com/reference/android/app/Notification.html#extras` directly.

Gets the `https://developer.android.com/reference/android/app/Notification.html#extras` field from a notification in a backwards compatible manner. Extras field was supported from JellyBean (Api level 16) forwards. This function will return `null` on older api levels.

### getGroup

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getGroup(notification: Notification): String?
```

Get the key used to group this notification into a cluster or stack with other notifications on devices which support such rendering.

### getGroupAlertBehavior

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getGroupAlertBehavior(notification: Notification): Int
```

Returns which type of notifications in a group are responsible for audibly alerting the user. See `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_ALL()`, `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_CHILDREN()`, `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#GROUP_ALERT_SUMMARY()`.

### getInvisibleActions

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getInvisibleActions(notification: Notification): (Mutable)List<NotificationCompat.Action!>
```

Returns the invisible actions contained within the given notification.

### getLocalOnly

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getLocalOnly(notification: Notification): Boolean
```

Get whether or not this notification is only relevant to the current device.

Some notifications can be bridged to other devices for remote display. If this hint is set, it is recommend that this notification not be bridged.

### getLocusId

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getLocusId(notification: Notification): LocusIdCompat?
```

Gets the `https://developer.android.com/reference/kotlin/androidx/core/content/LocusIdCompat` associated with this notification.

Used by the Android system to correlate objects (such as `https://developer.android.com/reference/kotlin/androidx/core/content/pm/ShortcutInfoCompat` and `https://developer.android.com/reference/android/view/contentcapture/ContentCaptureContext.html`).

### getOngoing

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getOngoing(notification: Notification): Boolean
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setOngoing(boolean)`

### getOnlyAlertOnce

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getOnlyAlertOnce(notification: Notification): Boolean
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setOnlyAlertOnce(boolean)`

### getPeople

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getPeople(notification: Notification): (Mutable)List<Person!>
```

Returns the people in the notification. On platforms which do not have the `https://developer.android.com/reference/android/app/Person.html` class, the `https://developer.android.com/reference/kotlin/androidx/core/app/Person` objects will contain only the URI from `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#addPerson(java.lang.String)`.

### getPublicVersion

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getPublicVersion(notification: Notification): Notification?
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setVisibility(int)`

### getSettingsText

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getSettingsText(notification: Notification): CharSequence?
```

Returns the settings text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSettingsText(java.lang.CharSequence)`.

### getShortCriticalText

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
java-static fun getShortCriticalText(notification: Notification): String?
```

Returns the very short text summarizing the most critical information contained in the notification, or null if this field was not set.

### getShortcutId

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getShortcutId(notification: Notification): String?
```

Returns the `https://developer.android.com/reference/kotlin/androidx/core/content/pm/ShortcutInfoCompat#getId()` that this notification supersedes, if any.

### getShowWhen

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getShowWhen(notification: Notification): Boolean
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setShowWhen(boolean)`

### getSortKey

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getSortKey(notification: Notification): String?
```

Get a sort key that orders this notification among other notifications from the same package. This can be useful if an external sort was already applied and an app would like to preserve this. Notifications will be sorted lexicographically using this value, although providing different priorities in addition to providing sort key may cause this value to be ignored.

This sort key can also be used to order members of a notification group. See `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroup(java.lang.String)`.

| See also |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html#compareTo(java.lang.String)` |   |

### getSubText

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getSubText(notification: Notification): CharSequence?
```

Returns the sub text provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setSubText(java.lang.CharSequence)`.

### getTimeoutAfter

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun getTimeoutAfter(notification: Notification): Long
```

Returns the time at which this notification should be canceled by the system, if it's not canceled already.

### getUsesChronometer

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getUsesChronometer(notification: Notification): Boolean
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setUsesChronometer(boolean)`

### getVisibility

Added in [1.5.0](https://developer.android.com/jetpack/androidx/releases/core#1.5.0)

```
java-static fun getVisibility(notification: Notification): Int
```

Get the value provided to `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setVisibility(int)`

### hasPromotableCharacteristics

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
java-static fun hasPromotableCharacteristics(notification: Notification): Boolean
```

Returns whether the notification has any promotable characteristics.

This is a wrapper around `https://developer.android.com/reference/android/app/Notification.html#hasPromotableCharacteristics()`.

### isGroupSummary

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

```
java-static fun isGroupSummary(notification: Notification): Boolean
```

Get whether this notification to be the group summary for a group of notifications. Grouped notifications may display in a cluster or stack on devices which support such rendering. Requires a group key also be set using `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Builder#setGroup(java.lang.String)`.

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether this notification is a group summary. |

### isRequestPromotedOngoing

Added in [1.17.0](https://developer.android.com/jetpack/androidx/releases/core#1.17.0)

```
java-static fun isRequestPromotedOngoing(notification: Notification): Boolean
```

Returns whether this notification has requested to be a promoted ongoing notification.

### reduceLargeIconSize

Added in [1.11.0](https://developer.android.com/jetpack/androidx/releases/core#1.11.0)

```
java-static fun reduceLargeIconSize(context: Context, icon: Bitmap?): Bitmap?
```

Reduces the size of a provided `icon` if it's larger than the maximum allowed for a notification large icon; returns the resized icon. Note that the framework does this scaling automatically starting from API 27.