Share via


NotificationManager.ShouldHideSilentStatusBarIcons Method

Definition

Returns whether the user wants silent notifications (see #IMPORTANCE_LOW 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

Attributes

Remarks

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

Only available for #isNotificationListenerAccessGranted(ComponentName) notification listeners.

Java documentation 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