Language

NotificationManager.ShouldHideSilentStatusBarIcons Method

Definition

Returns whether the user wants silent notifications (see #IMPORTANCE_LOW) not to appear in the status bar.

[Android.Runtime.Register("shouldHideSilentStatusBarIcons", "()Z", "GetShouldHideSilentStatusBarIconsHandler", ApiSince=29)]
public virtual bool ShouldHideSilentStatusBarIcons();
[<Android.Runtime.Register("shouldHideSilentStatusBarIcons", "()Z", "GetShouldHideSilentStatusBarIconsHandler", ApiSince=29)>]
abstract member ShouldHideSilentStatusBarIcons : unit -> bool
override this.ShouldHideSilentStatusBarIcons : unit -> bool

Returns

true when the setting requests hiding silent notification icons; otherwise, false.

Attributes

Remarks

Returns whether the user wants silent notifications (see IMPORTANCE_LOW) not to appear in the status bar. Only available for notification listeners.

Android reference for android.app.NotificationManager.shouldHideSilentStatusBarIcons.

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