次の方法で共有


JobParameters.IsOverrideDeadlineExpired Property

Definition

For jobs with android.app.job.JobInfo.Builder#setOverrideDeadline(long) set, this provides an easy way to tell whether the job is being executed due to the deadline expiring.

public virtual bool IsOverrideDeadlineExpired { [Android.Runtime.Register("isOverrideDeadlineExpired", "()Z", "GetIsOverrideDeadlineExpiredHandler")] get; }
[<get: Android.Runtime.Register("isOverrideDeadlineExpired", "()Z", "GetIsOverrideDeadlineExpiredHandler")>]
member this.IsOverrideDeadlineExpired : bool

Property Value

Attributes

Remarks

For jobs with android.app.job.JobInfo.Builder#setOverrideDeadline(long) set, this provides an easy way to tell whether the job is being executed due to the deadline expiring. Note: If the job is running because its deadline expired, it implies that its constraints will not be met.

Java documentation for android.app.job.JobParameters.isOverrideDeadlineExpired().

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