java.lang.Object | |
↳ | android.service.notification.NotificationListenerService.Ranking |
Stores ranking related information on a currently active notification.
Ranking objects aren't automatically updated as notification events
occur. Instead, ranking information has to be retrieved again via the
current NotificationListenerService.RankingMap
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the key of the notification this Ranking applies to.
| |||||||||||
Returns the rank of the notification.
| |||||||||||
Returns whether the notification is an ambient notification, that is
a notification that doesn't require the user's immediate attention.
| |||||||||||
Returns whether the notification matches the user's interruption
filter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the key of the notification this Ranking applies to.
Returns the rank of the notification.
Returns whether the notification is an ambient notification, that is a notification that doesn't require the user's immediate attention.
Returns whether the notification matches the user's interruption filter.
true
if the notification is allowed by the filter, or
false
if it is blocked.