AutomaticZenRule.Builder.SetInterruptionFilter(Int32) 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 interruption filter that is applied when this rule is active.
[Android.Runtime.Register("setInterruptionFilter", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)]
public Android.App.AutomaticZenRule.Builder SetInterruptionFilter(int interruptionFilter);
[<Android.Runtime.Register("setInterruptionFilter", "(I)Landroid/app/AutomaticZenRule$Builder;", "", ApiSince=35)>]
member this.SetInterruptionFilter : int -> Android.App.AutomaticZenRule.Builder
Parameters
- interruptionFilter
- Int32
int: Value is one of the following: NotificationManager.INTERRUPTION_FILTER_NONE NotificationManager.INTERRUPTION_FILTER_PRIORITY NotificationManager.INTERRUPTION_FILTER_ALARMS NotificationManager.INTERRUPTION_FILTER_ALL NotificationManager.INTERRUPTION_FILTER_UNKNOWN
Returns
This Android.App.AutomaticZenRule.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Sets the interruption filter that is applied when this rule is active.
Android reference for android.app.AutomaticZenRule.Builder.setInterruptionFilter.
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.