FileDocCategorySizeDatePackage
NotificationSignalExtractor.javaAPI DocAndroid 5.1 API1792Thu Mar 12 22:22:42 GMT 2015com.android.server.notification

NotificationSignalExtractor

public interface NotificationSignalExtractor
Extracts signals that will be useful to the {@link NotificationComparator} and caches them on the {@link NotificationRecord} object. These annotations will not be passed on to {@link android.service.notification.NotificationListenerService}s.

Fields Summary
Constructors Summary
Methods Summary
public voidinitialize(android.content.Context context)
One-time initialization.

public RankingReconsiderationprocess(NotificationRecord notification)
Called once per notification that is posted or updated.

return
null if the work is done, or a future if there is more to do. The {@link RankingReconsideration} will be run on a worker thread, and if notifications are re-ordered by that execution, the {@link NotificationManagerService} may send order update events to the {@link android.service.notification.NotificationListenerService}s.

public voidsetConfig(RankingConfig config)
Called whenever the {@link RankingConfig} changes.

param
config information about which signals are important.