次の方法で共有


JobWorkItem.DeliveryCount Property

Definition

Return the count of the number of times this work item has been delivered to the job.

public int DeliveryCount { [Android.Runtime.Register("getDeliveryCount", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getDeliveryCount", "()I", "", ApiSince=26)>]
member this.DeliveryCount : int

Property Value

Attributes

Remarks

Return the count of the number of times this work item has been delivered to the job. The value will be > 1 if it has been redelivered because the job was stopped or crashed while it had previously been delivered but before the job had called JobParameters#completeWork JobParameters.completeWork for it.

Java documentation for android.app.job.JobWorkItem.getDeliveryCount().

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