JobService.UpdateTransferredNetworkBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|
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.
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
- item
- JobWorkItem
- transferredDownloadBytes
- Int64
- transferredUploadBytes
- Int64
- Attributes
Remarks
Tell JobScheduler how much data has been transferred for the data transfer JobWorkItem
.
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.