Udostępnij za pośrednictwem


JobServiceEngine.UpdateTransferredNetworkBytes Method

Definition

Call in to engine to report data transfer progress.

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

Parameters

params
JobParameters
downloadBytes
Int64
uploadBytes
Int64
Attributes

Remarks

Call in to engine to report data transfer progress.

Java documentation for android.app.job.JobServiceEngine.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