共用方式為


BatteryManager.BatteryPropertyEnergyCounter 欄位

定義

警告

This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.

以奈瓦時為單位的電池剩餘能量,以長整數表示。

[Android.Runtime.Register("BATTERY_PROPERTY_ENERGY_COUNTER")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)]
public const Android.OS.BatteryProperty BatteryPropertyEnergyCounter = 5;
[<Android.Runtime.Register("BATTERY_PROPERTY_ENERGY_COUNTER")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)>]
val mutable BatteryPropertyEnergyCounter : Android.OS.BatteryProperty

欄位值

Value = 5
屬性

備註

以奈瓦時為單位的電池剩餘能量,以長整數表示。

android.os.BatteryManager.BATTERY_PROPERTY_ENERGY_COUNTERJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於