NotificationListenerService.Ranking.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 this notification can be displayed as a badge.
[Android.Runtime.Register("canShowBadge", "()Z", "GetCanShowBadgeHandler", ApiSince=26)]
public virtual bool CanShowBadge ();
[<Android.Runtime.Register("canShowBadge", "()Z", "GetCanShowBadgeHandler", ApiSince=26)>]
abstract member CanShowBadge : unit -> bool
override this.CanShowBadge : unit -> bool
Returns
true if the notification can be displayed as a badge, false otherwise.
- Attributes
Remarks
Returns whether this notification can be displayed as a badge.
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.