Compartir a través de


NotificationListenerService.OnNotificationRankingUpdate Método

Definición

Implemente este método para recibir una notificación cuando cambie la clasificación de notificaciones.

[Android.Runtime.Register("onNotificationRankingUpdate", "(Landroid/service/notification/NotificationListenerService$RankingMap;)V", "GetOnNotificationRankingUpdate_Landroid_service_notification_NotificationListenerService_RankingMap_Handler")]
public virtual void OnNotificationRankingUpdate (Android.Service.Notification.NotificationListenerService.RankingMap? rankingMap);
[<Android.Runtime.Register("onNotificationRankingUpdate", "(Landroid/service/notification/NotificationListenerService$RankingMap;)V", "GetOnNotificationRankingUpdate_Landroid_service_notification_NotificationListenerService_RankingMap_Handler")>]
abstract member OnNotificationRankingUpdate : Android.Service.Notification.NotificationListenerService.RankingMap -> unit
override this.OnNotificationRankingUpdate : Android.Service.Notification.NotificationListenerService.RankingMap -> unit

Parámetros

rankingMap
NotificationListenerService.RankingMap

Mapa de clasificación actual que se puede usar para recuperar información de clasificación para las notificaciones activas.

Atributos

Comentarios

Documentación de Java para android.service.notification.NotificationListenerService.onNotificationRankingUpdate(android.service.notification.RankingMap).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a