다음을 통해 공유


BatteryManager.BatteryPluggedUsb Field

Definition

Caution

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

Power source is a USB port.

[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

Field Value

Value = 2
Attributes

Remarks

Power source is a USB port.

Java documentation for android.os.BatteryManager.BATTERY_PLUGGED_USB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to