共用方式為


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 屬性授權中所述的詞彙使用。

適用於