다음을 통해 공유


ContentResolver.SyncExtrasRequireCharging Field

Definition

If this extra is set to true, the sync request will be scheduled only when the device is plugged in.

[Android.Runtime.Register("SYNC_EXTRAS_REQUIRE_CHARGING", ApiSince=24)]
public const string SyncExtrasRequireCharging;
[<Android.Runtime.Register("SYNC_EXTRAS_REQUIRE_CHARGING", ApiSince=24)>]
val mutable SyncExtrasRequireCharging : string

Field Value

Attributes

Remarks

If this extra is set to true, the sync request will be scheduled only when the device is plugged in. This is equivalent to calling setRequiresCharging(true) on SyncRequest.

Java documentation for android.content.ContentResolver.SYNC_EXTRAS_REQUIRE_CHARGING.

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