Udostępnij za pośrednictwem


JobService.UpdateTransferredNetworkBytes Method

Definition

Overloads

UpdateTransferredNetworkBytes(JobParameters, Int64, Int64)

Tell JobScheduler how much data has successfully been transferred for the data transfer job.

UpdateTransferredNetworkBytes(JobParameters, JobWorkItem, Int64, Int64)

Tell JobScheduler how much data has been transferred for the data transfer JobWorkItem.

UpdateTransferredNetworkBytes(JobParameters, Int64, Int64)

Tell JobScheduler how much data has successfully been transferred for the data transfer job.

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

Parameters

params
JobParameters
transferredDownloadBytes
Int64
transferredUploadBytes
Int64
Attributes

Remarks

Tell JobScheduler how much data has successfully been transferred for the data transfer job.

Java documentation for android.app.job.JobService.updateTransferredNetworkBytes(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

UpdateTransferredNetworkBytes(JobParameters, JobWorkItem, Int64, Int64)

Tell JobScheduler how much data has been transferred for the data transfer JobWorkItem.

[Android.Runtime.Register("updateTransferredNetworkBytes", "(Landroid/app/job/JobParameters;Landroid/app/job/JobWorkItem;JJ)V", "", ApiSince=34)]
public void UpdateTransferredNetworkBytes (Android.App.Job.JobParameters params, Android.App.Job.JobWorkItem item, long transferredDownloadBytes, long transferredUploadBytes);
[<Android.Runtime.Register("updateTransferredNetworkBytes", "(Landroid/app/job/JobParameters;Landroid/app/job/JobWorkItem;JJ)V", "", ApiSince=34)>]
member this.UpdateTransferredNetworkBytes : Android.App.Job.JobParameters * Android.App.Job.JobWorkItem * int64 * int64 -> unit

Parameters

params
JobParameters
transferredDownloadBytes
Int64
transferredUploadBytes
Int64
Attributes

Remarks

Tell JobScheduler how much data has been transferred for the data transfer JobWorkItem.

Java documentation for android.app.job.JobService.updateTransferredNetworkBytes(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