# 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)

*** ** * ** ***


```
public final class NotificationCompatExtras
```

<br />

*** ** * ** ***

Well-known extras used by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` for backwards compatibility.

## Summary

| ### Constants |
|---|---|
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_ACTION_EXTRAS() = "android.support.actionExtras"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.html#extras` field before it was available. |
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_GROUP_KEY() = "android.support.groupKey"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value set by `https://developer.android.com/reference/android/app/Notification.Builder.html#setGroup(java.lang.String)` before it was available. |
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_GROUP_SUMMARY() = "android.support.isGroupSummary"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value set by `https://developer.android.com/reference/android/app/Notification.Builder.html#setGroupSummary(boolean)` before it was available. |
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_LOCAL_ONLY() = "android.support.localOnly"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.html#FLAG_LOCAL_ONLY` field before it was available. |
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_REMOTE_INPUTS() = "android.support.remoteInputs"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.Action.html#getRemoteInputs()` before the field was available. |
| `static final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/app/NotificationCompatExtras#EXTRA_SORT_KEY() = "android.support.sortKey"` Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value set by `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)

```
public static final String EXTRA_ACTION_EXTRAS = "android.support.actionExtras"
```

Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.html#extras` field before it was available. If possible, use `https://developer.android.com/reference/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)

```
public static final String EXTRA_GROUP_KEY = "android.support.groupKey"
```

Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value set by `https://developer.android.com/reference/android/app/Notification.Builder.html#setGroup(java.lang.String)` before it was available. If possible, use `https://developer.android.com/reference/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)

```
public static final String EXTRA_GROUP_SUMMARY = "android.support.isGroupSummary"
```

Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value set by `https://developer.android.com/reference/android/app/Notification.Builder.html#setGroupSummary(boolean)` before it was available. If possible, use `https://developer.android.com/reference/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)

```
public static final String EXTRA_LOCAL_ONLY = "android.support.localOnly"
```

Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.html#FLAG_LOCAL_ONLY` field before it was available. If possible, use `https://developer.android.com/reference/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)

```
public static final String EXTRA_REMOTE_INPUTS = "android.support.remoteInputs"
```

Extras key used internally by `https://developer.android.com/reference/androidx/core/app/NotificationCompat` to store the value of the `https://developer.android.com/reference/android/app/Notification.Action.html#getRemoteInputs()` before the field was available. If possible, use `https://developer.android.com/reference/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)

```
public static final String EXTRA_SORT_KEY = "android.support.sortKey"
```

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