NotificationListenerService.MetaDataDefaultFilterTypes Field
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.
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'.
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.