public final class NotificationCompatExtras
extends Object
| java.lang.Object | |
| android.support.v4.app.NotificationCompatExtras | |
为了向后兼容, NotificationCompat使用了众所周知的附加功能。
常量(Constants) |
|
|---|---|
String |
EXTRA_ACTION_EXTRAS 通过 |
String |
EXTRA_GROUP_KEY
|
String |
EXTRA_GROUP_SUMMARY
|
String |
EXTRA_LOCAL_ONLY 通过 |
String |
EXTRA_REMOTE_INPUTS 额外密钥由 |
String |
EXTRA_SORT_KEY
|
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
String EXTRA_ACTION_EXTRAS
通过NotificationCompat内部使用的额外密钥在extras字段可用之前存储其值。 如果可能,请使用getAction(Notification, int)访问此字段。
常量值:“android.support.actionExtras”
String EXTRA_GROUP_KEY
通过内部使用的附加功能键NotificationCompat存储由设定值setGroup(String)可用之前。 如果可能,请使用getGroup(Notification)访问此值。
常量值:“android.support.groupKey”
String EXTRA_GROUP_SUMMARY
通过NotificationCompat内部使用的额外密钥在setGroupSummary(boolean)可用之前存储由setGroupSummary(boolean)设置的值。 如果可能,请使用isGroupSummary(Notification)访问此值。
常量值:“android.support.isGroupSummary”
String EXTRA_LOCAL_ONLY
通过NotificationCompat在内部使用的额外密钥在FLAG_LOCAL_ONLY字段可用之前存储其值。 如有可能,请使用getLocalOnly(Notification)访问此字段。
常量值:“android.support.localOnly”
String EXTRA_REMOTE_INPUTS
附加功能键内部使用NotificationCompat存储的值getRemoteInputs()现场可用之前。 如果可能,请使用{@link NotificationCompat.Action#getRemoteInputs来访问此字段。
常量值:“android.support.remoteInputs”
String EXTRA_SORT_KEY
NotificationCompat内部使用的额外键,用于在NotificationCompat可用之前存储由setSortKey(String)设置的值。 如果可能,请使用getSortKey(Notification)访问此值。
常量值:“android.support.sortKey”