Language

SyncRequest.Builder.SetManual(Boolean) Method

Definition

Convenience function for setting ContentResolver.SYNC_EXTRAS_MANUAL . Not valid for periodic sync and will throw an IllegalArgumentException in build() .

[Android.Runtime.Register("setManual", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetManual_ZHandler")]
public virtual Android.Content.SyncRequest.Builder? SetManual(bool isManual);
[<Android.Runtime.Register("setManual", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetManual_ZHandler")>]
abstract member SetManual : bool -> Android.Content.SyncRequest.Builder
override this.SetManual : bool -> Android.Content.SyncRequest.Builder

Parameters

isManual
Boolean

User-initiated sync or not. Default false.

Returns

Convenience function for setting ContentResolver.SYNC_EXTRAS_MANUAL . 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.setManual(boolean).

Applies to