SyncRequest.Builder.SetIgnoreBackoff(Boolean) Method
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.
Convenience function for setting ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF . Ignoring back-off will force the sync scheduling process to ignore any back-off that was the result of a failed sync, as well as to invalidate any SyncResult.delayUntil value that may have been set by the adapter. Successive failures will not honor this flag. Not valid for periodic sync and will throw an IllegalArgumentException in build() .
[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
Convenience function for setting ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF . Ignoring back-off will force the sync scheduling process to ignore any back-off that was the result of a failed sync, as well as to invalidate any SyncResult.delayUntil value that may have been set by the adapter. Successive failures will not honor this flag. Not valid for periodic sync and will throw an IllegalArgumentException in build() .
- 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).