語言

BatteryManager.BatteryPluggedUsb 欄位

定義

警告

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

電源是 USB 埠。

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

欄位值

Value = 2
屬性

備註

電源是 USB 埠。

Java 文件 android.os.BatteryManager.BATTERY_PLUGGED_USB。

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

適用於