SyncRequest.Builder.SetRequiresCharging(Boolean) Method

Definition

[Android.Runtime.Register("setRequiresCharging", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetRequiresCharging_ZHandler", ApiSince=24)]
public virtual Android.Content.SyncRequest.Builder? SetRequiresCharging (bool requiresCharging);
[<Android.Runtime.Register("setRequiresCharging", "(Z)Landroid/content/SyncRequest$Builder;", "GetSetRequiresCharging_ZHandler", ApiSince=24)>]
abstract member SetRequiresCharging : bool -> Android.Content.SyncRequest.Builder
override this.SetRequiresCharging : bool -> Android.Content.SyncRequest.Builder

Parameters

requiresCharging
Boolean

Returns

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.

Applies to