Compartir a través de


ContentResolver.NotifySkipNotifyForDescendants Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.NotifyChangeFlags enum directly instead of this field.

Flag for #notifyChange(Uri, ContentObserver, int): if set, this notification will be skipped if it is being delivered to the root URI of a ContentObserver that is using "notify for descendants.

[Android.Runtime.Register("NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.NotifyChangeFlags enum directly instead of this field.", true)]
public const Android.Content.NotifyChangeFlags NotifySkipNotifyForDescendants = 2;
[<Android.Runtime.Register("NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.NotifyChangeFlags enum directly instead of this field.", true)>]
val mutable NotifySkipNotifyForDescendants : Android.Content.NotifyChangeFlags

Field Value

Value = 2
Attributes

Remarks

Flag for #notifyChange(Uri, ContentObserver, int): if set, this notification will be skipped if it is being delivered to the root URI of a ContentObserver that is using "notify for descendants." The purpose of this is to allow the provide to send a general notification of "something under X" changed that observers of that specific URI can receive, while also sending a specific URI under X. It would use this flag when sending the former, so that observers of "X and descendants" only see the latter.

Java documentation for android.content.ContentResolver.NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS.

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