共用方式為


NotificationListenerService.Ranking.Channel Property

Definition

Returns the notification channel this notification was posted to, which dictates notification behavior and presentation.

public virtual Android.App.NotificationChannel Channel { [Android.Runtime.Register("getChannel", "()Landroid/app/NotificationChannel;", "GetGetChannelHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getChannel", "()Landroid/app/NotificationChannel;", "GetGetChannelHandler", ApiSince=26)>]
member this.Channel : Android.App.NotificationChannel

Property Value

Attributes

Remarks

Returns the notification channel this notification was posted to, which dictates notification behavior and presentation.

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

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