Udostępnij za pośrednictwem


SyncAdapterType.AllowParallelSyncs Method

Definition

[Android.Runtime.Register("allowParallelSyncs", "()Z", "GetAllowParallelSyncsHandler")]
public virtual bool AllowParallelSyncs ();
[<Android.Runtime.Register("allowParallelSyncs", "()Z", "GetAllowParallelSyncsHandler")>]
abstract member AllowParallelSyncs : unit -> bool
override this.AllowParallelSyncs : unit -> bool

Returns

True if this SyncAdapter supports syncing multiple accounts simultaneously. If false then the SyncManager will take care to only start one sync at a time using this SyncAdapter.

Attributes

Remarks

Java documentation for android.content.SyncAdapterType.allowParallelSyncs().

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