NotificationChannel.CanShowBadge Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether notifications posted to this channel can appear as badges in a Launcher application.
[Android.Runtime.Register("canShowBadge", "()Z", "", ApiSince=26)]
public bool CanShowBadge ();
[<Android.Runtime.Register("canShowBadge", "()Z", "", ApiSince=26)>]
member this.CanShowBadge : unit -> bool
Returns
- Attributes
Remarks
Returns whether notifications posted to this channel can appear as badges in a Launcher application.
Note that badging may be disabled for other reasons.
Java documentation for android.app.NotificationChannel.canShowBadge()
.
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.