Android.Service.Notification.NotificationListenerService.RequestInterruptionFilter Method
Sets the desired NotificationListenerService.CurrentInterruptionFilter.

Syntax

[Android.Runtime.Register("requestInterruptionFilter", "(I)V", "")]
public void RequestInterruptionFilter ([Android.Runtime.GeneratedEnum] InterruptionFilterType interruptionFilter)

Parameters

interruptionFilter
One of the INTERRUPTION_FILTER_ constants.

Remarks

Sets the desired NotificationListenerService.CurrentInterruptionFilter.

This is merely a request, the host may or may not choose to apply the requested interruption filter depending on other listener requests or other global state.

Listen for updates using NotificationListenerService.OnInterruptionFilterChanged(InterruptionFilterType).

[Android Documentation]

Requirements

Namespace: Android.Service.Notification
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18