次の方法で共有


DownloadManager.Request.SetRequiresCharging(Boolean) Method

Definition

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

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