NotificationCompatExtras

public final class NotificationCompatExtras
extends Object

java.lang.Object
   ↳ androidx.core.app.NotificationCompatExtras


Well-known extras used by NotificationCompat for backwards compatibility.

Summary

Constants

String EXTRA_ACTION_EXTRAS

Extras key used internally by NotificationCompat to store the value of the Notification.extras field before it was available.

String EXTRA_GROUP_KEY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setGroup(String) before it was available.

String EXTRA_GROUP_SUMMARY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setGroupSummary(boolean) before it was available.

String EXTRA_LOCAL_ONLY

Extras key used internally by NotificationCompat to store the value of the Notification.FLAG_LOCAL_ONLY field before it was available.

String EXTRA_REMOTE_INPUTS

Extras key used internally by NotificationCompat to store the value of the Notification.Action.getRemoteInputs() before the field was available.

String EXTRA_SORT_KEY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setSortKey(String) before it was available.

Inherited methods

Constants

EXTRA_ACTION_EXTRAS

public static final String EXTRA_ACTION_EXTRAS

Extras key used internally by NotificationCompat to store the value of the Notification.extras field before it was available. If possible, use NotificationCompat.getAction(Notification, int) to access this field.

Constant Value: "android.support.actionExtras"

EXTRA_GROUP_KEY

public static final String EXTRA_GROUP_KEY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setGroup(String) before it was available. If possible, use NotificationCompat.getGroup(Notification) to access this value.

Constant Value: "android.support.groupKey"

EXTRA_GROUP_SUMMARY

public static final String EXTRA_GROUP_SUMMARY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setGroupSummary(boolean) before it was available. If possible, use NotificationCompat.isGroupSummary(Notification) to access this value.

Constant Value: "android.support.isGroupSummary"

EXTRA_LOCAL_ONLY

public static final String EXTRA_LOCAL_ONLY

Extras key used internally by NotificationCompat to store the value of the Notification.FLAG_LOCAL_ONLY field before it was available. If possible, use NotificationCompat.getLocalOnly(Notification) to access this field.

Constant Value: "android.support.localOnly"

EXTRA_REMOTE_INPUTS

public static final String EXTRA_REMOTE_INPUTS

Extras key used internally by NotificationCompat to store the value of the Notification.Action.getRemoteInputs() before the field was available. If possible, use NotificationCompat.Action.getRemoteInputs() to access this field.

Constant Value: "android.support.remoteInputs"

EXTRA_SORT_KEY

public static final String EXTRA_SORT_KEY

Extras key used internally by NotificationCompat to store the value set by Notification.Builder.setSortKey(String) before it was available. If possible, use NotificationCompat.getSortKey(Notification) to access this value.

Constant Value: "android.support.sortKey"