語言

BatteryManager.BatteryPropertyCurrentNow 欄位

定義

警告

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

以整數單位表示的瞬間電池電流(以微安培計)。

[Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_NOW")]
[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 BatteryPropertyCurrentNow = 2;
[<Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_NOW")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)>]
val mutable BatteryPropertyCurrentNow : Android.OS.BatteryProperty

欄位值

Value = 2
屬性

備註

以整數單位表示的瞬間電池電流(以微安培計)。 正值表示淨電流從充電源進入電池,負值表示淨電流從電池放電。

Java 文件 android.os.BatteryManager.BATTERY_PROPERTY_CURRENT_NOW。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於