简体   繁体   中英

Android Notification Channel Description

Public method setDescription of the NotificationChannel class suppose to set the user visible description of this channel.

public void setDescription (String description)

Could anyone help me find where this description information is actually visible to user on his phone? Is this feature supported just by some versions of Android system? I have version 8.0 and I don't see that information listed anywhere.

The description is visible in the settings page of the notification channel. On Android 11 and 12 it is a greyed out section at the bottom of the page.

You can get there by opening App info > Notifications or Settings > Apps & Notifications > Notifications > See all > Your app and then clicking on the channel name.

Screenshot

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM