JobParameters.StopReasonDeviceState 字段

定义

注意

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

设备状态(例如

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

字段值

Value = 4

实现

属性

注解

设备状态(例如Doze、节电器、内存使用量等)要求 JobScheduler 停止此作业。

适用于 . 的 android.app.job.JobParameters.STOP_REASON_DEVICE_STATEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于