次の方法で共有


NotificationManager.ShouldHideSilentStatusBarIcons メソッド

定義

ユーザーがサイレント通知を行うかどうかを返します (ステータス バーに表示されるのを参照 #IMPORTANCE_LOW してください)。

[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

戻り値

属性

注釈

ユーザーがサイレント通知を行うかどうかを返します (ステータス バーに表示されるのを参照 #IMPORTANCE_LOW してください)。

に対 #isNotificationListenerAccessGranted(ComponentName) notification listenersしてのみ使用できます。

の Java ドキュメントandroid.app.NotificationManager.shouldHideSilentStatusBarIcons()

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象