Share via


BatteryState.StatusUnknown Field

Definition

Caution

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

Battery status is unknown.

[Android.Runtime.Register("STATUS_UNKNOWN", 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 StatusUnknown = 1;
[<Android.Runtime.Register("STATUS_UNKNOWN", 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 StatusUnknown : Android.Hardware.BatteryStatus

Field Value

Value = 1
Attributes

Remarks

Battery status is unknown.

Java documentation for android.hardware.BatteryState.STATUS_UNKNOWN.

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