Udostępnij za pośrednictwem


JobService.UpdateEstimatedNetworkBytes Method

Definition

Overloads

UpdateEstimatedNetworkBytes(JobParameters, Int64, Int64)

Update the amount of data this job is estimated to transfer after the job has started.

UpdateEstimatedNetworkBytes(JobParameters, JobWorkItem, Int64, Int64)

Update the amount of data this JobWorkItem is estimated to transfer after the job has started.

UpdateEstimatedNetworkBytes(JobParameters, Int64, Int64)

Update the amount of data this job is estimated to transfer after the job has started.

[Android.Runtime.Register("updateEstimatedNetworkBytes", "(Landroid/app/job/JobParameters;JJ)V", "", ApiSince=34)]
public void UpdateEstimatedNetworkBytes (Android.App.Job.JobParameters params, long downloadBytes, long uploadBytes);
[<Android.Runtime.Register("updateEstimatedNetworkBytes", "(Landroid/app/job/JobParameters;JJ)V", "", ApiSince=34)>]
member this.UpdateEstimatedNetworkBytes : Android.App.Job.JobParameters * int64 * int64 -> unit

Parameters

params
JobParameters
downloadBytes
Int64
uploadBytes
Int64
Attributes

Remarks

Update the amount of data this job is estimated to transfer after the job has started.

Java documentation for android.app.job.JobService.updateEstimatedNetworkBytes(android.app.job.JobParameters, long, long).

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

UpdateEstimatedNetworkBytes(JobParameters, JobWorkItem, Int64, Int64)

Update the amount of data this JobWorkItem is estimated to transfer after the job has started.

[Android.Runtime.Register("updateEstimatedNetworkBytes", "(Landroid/app/job/JobParameters;Landroid/app/job/JobWorkItem;JJ)V", "", ApiSince=34)]
public void UpdateEstimatedNetworkBytes (Android.App.Job.JobParameters params, Android.App.Job.JobWorkItem jobWorkItem, long downloadBytes, long uploadBytes);
[<Android.Runtime.Register("updateEstimatedNetworkBytes", "(Landroid/app/job/JobParameters;Landroid/app/job/JobWorkItem;JJ)V", "", ApiSince=34)>]
member this.UpdateEstimatedNetworkBytes : Android.App.Job.JobParameters * Android.App.Job.JobWorkItem * int64 * int64 -> unit

Parameters

params
JobParameters
jobWorkItem
JobWorkItem
downloadBytes
Int64
uploadBytes
Int64
Attributes

Remarks

Update the amount of data this JobWorkItem is estimated to transfer after the job has started.

Java documentation for android.app.job.JobService.updateEstimatedNetworkBytes(android.app.job.JobParameters, android.app.job.JobWorkItem, long, long).

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