NotificationListenerService.MetaDataDefaultFilterTypes Field

Definition

The name of the meta-data tag containing a pipe separated list of default integer notification types or "ongoing", "conversations", "alerting", or "silent" that should be provided to this listener.

[Android.Runtime.Register("META_DATA_DEFAULT_FILTER_TYPES", ApiSince=31)]
public const string MetaDataDefaultFilterTypes;
[<Android.Runtime.Register("META_DATA_DEFAULT_FILTER_TYPES", ApiSince=31)>]
val mutable MetaDataDefaultFilterTypes : string

Field Value

Attributes

Remarks

The name of the meta-data tag containing a pipe separated list of default integer notification types or "ongoing", "conversations", "alerting", or "silent" that should be provided to this listener. See #FLAG_FILTER_TYPE_ONGOING, #FLAG_FILTER_TYPE_CONVERSATIONS, #FLAG_FILTER_TYPE_ALERTING), and {@link #FLAG_FILTER_TYPE_SILENT.

This value will only be read if the app has not previously specified a default type list, and if the user has not overridden the allowed types.

An absent value means 'allow all types'. A present but empty value means 'allow no types'.

Java documentation for android.service.notification.NotificationListenerService.META_DATA_DEFAULT_FILTER_TYPES.

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