共用方式為


ContentResolver.NotifyInsert 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): typically set by a ContentProvider to indicate that this notification is the result of an ContentProvider#insert call.

[Android.Runtime.Register("NOTIFY_INSERT", ApiSince=30)]
[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 NotifyInsert = 4;
[<Android.Runtime.Register("NOTIFY_INSERT", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.NotifyChangeFlags enum directly instead of this field.", true)>]
val mutable NotifyInsert : Android.Content.NotifyChangeFlags

Field Value

Value = 4
Attributes

Remarks

Flag for #notifyChange(Uri, ContentObserver, int): typically set by a ContentProvider to indicate that this notification is the result of an ContentProvider#insert call.

Sending these detailed flags are optional, but providers are strongly recommended to send them.

Java documentation for android.content.ContentResolver.NOTIFY_INSERT.

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