Language

SyncRequest.Builder.SetIgnoreBackoff(Boolean) Method

Definition

Sets the ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF option. When enabled, the initial attempt ignores backoff and the adapter's delay-until time; retries honor backoff. Enabling this for a periodic sync is invalid and will cause build() to throw an IllegalArgumentException.

[Android.Runtime.Register("setIgnoreBackoff", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetIgnoreBackoff_ZHandler")]
public virtual Android.Content.SyncRequest.Builder? SetIgnoreBackoff(bool ignoreBackoff);
[<Android.Runtime.Register("setIgnoreBackoff", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetIgnoreBackoff_ZHandler")>]
abstract member SetIgnoreBackoff : bool -> Android.Content.SyncRequest.Builder
override this.SetIgnoreBackoff : bool -> Android.Content.SyncRequest.Builder

Parameters

ignoreBackoff
Boolean

ignore back off settings. Default false.

Returns

This builder.

Attributes

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.

Java documentation for android.content.SyncRequest.Builder.setIgnoreBackoff(boolean).

Applies to