NotificationManager.SetInterruptionFilter(InterruptionFilter) 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.
Sets the current notification interruption filter.
[Android.Runtime.Register("setInterruptionFilter", "(I)V", "", ApiSince=23)]
public void SetInterruptionFilter (Android.App.InterruptionFilter interruptionFilter);
[<Android.Runtime.Register("setInterruptionFilter", "(I)V", "", ApiSince=23)>]
member this.SetInterruptionFilter : Android.App.InterruptionFilter -> unit
Parameters
- interruptionFilter
- InterruptionFilter
- Attributes
Remarks
Sets the current notification interruption filter.
The interruption filter defines which notifications are allowed to interrupt the user (e.g. via sound & vibration) and is applied globally.
Only available if policy access is granted to this package. See #isNotificationPolicyAccessGranted
.
Java documentation for android.app.NotificationManager.setInterruptionFilter(int)
.
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.