共用方式為


NotificationManager.CurrentInterruptionFilter Property

Definition

Gets the current notification interruption filter.

public Android.App.InterruptionFilter CurrentInterruptionFilter { [Android.Runtime.Register("getCurrentInterruptionFilter", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getCurrentInterruptionFilter", "()I", "", ApiSince=23)>]
member this.CurrentInterruptionFilter : Android.App.InterruptionFilter

Property Value

Attributes

Remarks

Gets the current notification interruption filter.

The interruption filter defines which notifications are allowed to interrupt the user (e.g. via sound &amp; vibration) and is applied globally.

Java documentation for android.app.NotificationManager.getCurrentInterruptionFilter().

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