# NotificationCompatExtras

# NotificationCompatExtras

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

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras "View this page in Java")

<br />

```
class NotificationCompatExtras
```

<br />

*** ** * ** ***

Well-known extras used by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)for backwards compatibility.

## Summary

|                                        ### Constants                                         |
|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_ACTION_EXTRAS](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_ACTION_EXTRAS())` = "android.support.actionExtras"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[extras](https://developer.android.com/reference/android/app/Notification.html#extras())field before it was available.                              |
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_GROUP_KEY](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_GROUP_KEY())` = "android.support.groupKey"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setGroup](https://developer.android.com/reference/android/app/Notification.Builder.html#setGroup(java.lang.String))before it was available.                    |
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_GROUP_SUMMARY](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_GROUP_SUMMARY())` = "android.support.isGroupSummary"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setGroupSummary](https://developer.android.com/reference/android/app/Notification.Builder.html#setGroupSummary(boolean))before it was available. |
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_LOCAL_ONLY](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_LOCAL_ONLY())` = "android.support.localOnly"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[FLAG_LOCAL_ONLY](https://developer.android.com/reference/android/app/Notification.html#FLAG_LOCAL_ONLY())field before it was available.                     |
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_REMOTE_INPUTS](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_REMOTE_INPUTS())` = "android.support.remoteInputs"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[getRemoteInputs](https://developer.android.com/reference/android/app/Notification.Action.html#getRemoteInputs())before the field was available.    |
| `const `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)`!` | [EXTRA_SORT_KEY](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompatExtras#EXTRA_SORT_KEY())` = "android.support.sortKey"` Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setSortKey](https://developer.android.com/reference/android/app/Notification.Builder.html#setSortKey(java.lang.String))before it was available.                   |

## Constants

### EXTRA_ACTION_EXTRAS

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

```
const val EXTRA_ACTION_EXTRAS = "android.support.actionExtras": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[extras](https://developer.android.com/reference/android/app/Notification.html#extras())field before it was available. If possible, use[getAction](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getAction(android.app.Notification,int))to access this field.  

### EXTRA_GROUP_KEY

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

```
const val EXTRA_GROUP_KEY = "android.support.groupKey": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setGroup](https://developer.android.com/reference/android/app/Notification.Builder.html#setGroup(java.lang.String))before it was available. If possible, use[getGroup](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getGroup(android.app.Notification))to access this value.  

### EXTRA_GROUP_SUMMARY

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

```
const val EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setGroupSummary](https://developer.android.com/reference/android/app/Notification.Builder.html#setGroupSummary(boolean))before it was available. If possible, use[isGroupSummary](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#isGroupSummary(android.app.Notification))to access this value.  

### EXTRA_LOCAL_ONLY

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

```
const val EXTRA_LOCAL_ONLY = "android.support.localOnly": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[FLAG_LOCAL_ONLY](https://developer.android.com/reference/android/app/Notification.html#FLAG_LOCAL_ONLY())field before it was available. If possible, use[getLocalOnly](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getLocalOnly(android.app.Notification))to access this field.  

### EXTRA_REMOTE_INPUTS

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

```
const val EXTRA_REMOTE_INPUTS = "android.support.remoteInputs": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value of the[getRemoteInputs](https://developer.android.com/reference/android/app/Notification.Action.html#getRemoteInputs())before the field was available. If possible, use[getRemoteInputs](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action#getRemoteInputs())to access this field.  

### EXTRA_SORT_KEY

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

```
const val EXTRA_SORT_KEY = "android.support.sortKey": String!
```

Extras key used internally by[NotificationCompat](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat)to store the value set by[setSortKey](https://developer.android.com/reference/android/app/Notification.Builder.html#setSortKey(java.lang.String))before it was available. If possible, use[getSortKey](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat#getSortKey(android.app.Notification))to access this value.