Language

PeopleContract.ExtraNotificationUri Field

Definition

Key for an extra in the android.database.CursorBundle containing a query-specific notification URI.

[Android.Runtime.Register("EXTRA_NOTIFICATION_URI", ApiSince=37)]
public const string ExtraNotificationUri;
[<Android.Runtime.Register("EXTRA_NOTIFICATION_URI", ApiSince=37)>]
val mutable ExtraNotificationUri : string

Field Value

Attributes

Remarks

Key for an extra in the Cursor Bundle containing a query-specific notification URI.

This URI is generated by the People Provider and is unique to each query.

For client applications: Clients can extract this URI when a cursor is returned from a query and register a ContentObserver via ContentResolver.registerContentObserver(Uri,boolean,android.database.ContentObserver) to stay updated on data changes. Because initial queries may return partial or empty results while background maintenance jobs run, observing this URI allows the client to be notified when the local database is updated so that it can re-query and update the UI.

For People Directory applications: People Directory implementations do not use this key.

Android reference for android.provider.PeopleContract.EXTRA_NOTIFICATION_URI.

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