Share via


NotificationListenerService.OnNotificationRankingUpdate Method

Definition

Implement this method to be notified when the notification ranking changes.

[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

Parameters

rankingMap
NotificationListenerService.RankingMap

The current ranking map that can be used to retrieve ranking information for active notifications.

Attributes

Remarks

Java documentation for android.service.notification.NotificationListenerService.onNotificationRankingUpdate(android.service.notification.RankingMap).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to