Udostępnij za pośrednictwem


BatteryState.StatusNotCharging Field

Definition

Caution

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

Battery is connected to power but not charging.

[Android.Runtime.Register("STATUS_NOT_CHARGING", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.BatteryStatus enum directly instead of this field.", true)]
public const Android.Hardware.BatteryStatus StatusNotCharging = 4;
[<Android.Runtime.Register("STATUS_NOT_CHARGING", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.BatteryStatus enum directly instead of this field.", true)>]
val mutable StatusNotCharging : Android.Hardware.BatteryStatus

Field Value

Value = 4
Attributes

Remarks

Battery is connected to power but not charging.

Java documentation for android.hardware.BatteryState.STATUS_NOT_CHARGING.

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