Sdílet prostřednictvím


JobScheduler.PendingJobReasonDeviceState Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Job.PendingJobReason enum directly instead of this field.

The job is being deferred due to the device state (eg.

[Android.Runtime.Register("PENDING_JOB_REASON_DEVICE_STATE", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason enum directly instead of this field.", true)]
public const Android.App.Job.PendingJobReason PendingJobReasonDeviceState = 12;
[<Android.Runtime.Register("PENDING_JOB_REASON_DEVICE_STATE", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.PendingJobReason enum directly instead of this field.", true)>]
val mutable PendingJobReasonDeviceState : Android.App.Job.PendingJobReason

Field Value

Value = 12
Attributes

Remarks

The job is being deferred due to the device state (eg. Doze, battery saver, memory usage, thermal status, etc.).

Java documentation for android.app.job.JobScheduler.PENDING_JOB_REASON_DEVICE_STATE.

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