public static interface HeadsUpManager.OnHeadsUpChangedListener
Modifier and Type | Method and Description |
---|---|
void |
onHeadsUpPinned(com.android.systemui.statusbar.ExpandableNotificationRow headsUp)
A notification was just pinned to the top.
|
void |
onHeadsUpPinnedModeChanged(boolean inPinnedMode)
The state whether there exist pinned heads-ups or not changed.
|
void |
onHeadsUpStateChanged(com.android.systemui.statusbar.NotificationData.Entry entry,
boolean isHeadsUp)
A notification just became a heads up or turned back to its normal state.
|
void |
onHeadsUpUnPinned(com.android.systemui.statusbar.ExpandableNotificationRow headsUp)
A notification was just unpinned from the top.
|
void onHeadsUpPinnedModeChanged(boolean inPinnedMode)
inPinnedMode
- whether there are any pinned heads-upsvoid onHeadsUpPinned(com.android.systemui.statusbar.ExpandableNotificationRow headsUp)
void onHeadsUpUnPinned(com.android.systemui.statusbar.ExpandableNotificationRow headsUp)
void onHeadsUpStateChanged(com.android.systemui.statusbar.NotificationData.Entry entry, boolean isHeadsUp)
entry
- the entry of the changed notificationisHeadsUp
- whether the notification is now a headsUp notification