ContentResolver.AddStatusChangeListener(SyncObserverType, ISyncStatusObserver) ContentResolver.AddStatusChangeListener(SyncObserverType, ISyncStatusObserver) Method

Definition

Request notifications when the different aspects of the SyncManager change.

[Android.Runtime.Register("addStatusChangeListener", "(ILandroid/content/SyncStatusObserver;)Ljava/lang/Object;", "", ApiSince=5)]
public static Java.Lang.Object AddStatusChangeListener (Android.Content.SyncObserverType mask, Android.Content.ISyncStatusObserver callback);
static member AddStatusChangeListener : Android.Content.SyncObserverType * Android.Content.ISyncStatusObserver -> Java.Lang.Object

Parameters

mask
SyncObserverType SyncObserverType

the status change types that will cause the callback to be invoked

callback
ISyncStatusObserver ISyncStatusObserver

observer to be invoked when the status changes

Returns

Remarks

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