共用方式為


NotificationListenerService.Ranking.Rank Property

Definition

Returns the rank of the notification.

public virtual int Rank { [Android.Runtime.Register("getRank", "()I", "GetGetRankHandler")] get; }
[<get: Android.Runtime.Register("getRank", "()I", "GetGetRankHandler")>]
member this.Rank : int

Property Value

the rank of the notification, that is the 0-based index in the list of active notifications.

Attributes

Remarks

Returns the rank of the notification.

Java documentation for android.service.notification.NotificationListenerService.Ranking.getRank().

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