Compartir a través de


ContentResolver.CurrentSyncs Property

Definition

Returns a list with information about all the active syncs.

public static System.Collections.Generic.IList<Android.Content.SyncInfo>? CurrentSyncs { [Android.Runtime.Register("getCurrentSyncs", "()Ljava/util/List;", "")] get; }
[<get: Android.Runtime.Register("getCurrentSyncs", "()Ljava/util/List;", "")>]
static member CurrentSyncs : System.Collections.Generic.IList<Android.Content.SyncInfo>

Property Value

a List of SyncInfo objects for the currently active syncs.

Attributes

Remarks

Returns a list with information about all the active syncs. This list will be empty if there are no active syncs.

This method requires the caller to hold the permission android.Manifest.permission#READ_SYNC_STATS.

Java documentation for android.content.ContentResolver.getCurrentSyncs().

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