PeopleContract.ContentNotificationUri Property
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.
A content:// style URI for receiving general change notifications from the People Provider.
[Android.Runtime.Register("CONTENT_NOTIFICATION_URI", ApiSince=37)]
public static Android.Net.Uri ContentNotificationUri { get; }
[<Android.Runtime.Register("CONTENT_NOTIFICATION_URI", ApiSince=37)>]
static member ContentNotificationUri : Android.Net.Uri
Property Value
- Attributes
Remarks
A content:// style URI for receiving general change notifications from the People Provider.
For client applications: Clients can register a ContentObserver on this URI to be notified when directory data, person records, or group records change across any directory. This observer will trigger when the local database changes due to maintenance jobs or when People Directory applications report updates.
For People Directory applications: People Directory applications trigger notifications on this URI indirectly by invoking Directory.notifyChange(Context,Uri,Bundle,CancellationSignal) whenever their backing user records are modified.
Note: People Directory applications should not invoke ContentResolver.notifyChange(Uri,android.database.ContentObserver) on this URI directly. Doing so will not update the People Provider local database or propagate changes to client applications.
Android reference for android.provider.PeopleContract.CONTENT_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.