BatteryHealth class
from: com.example.battery_ffi.BatteryHealth
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReleased → bool
-
no setterinherited
- jClass → JClass
-
Returns
JClasscorresponding to concrete class of this object.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
as<
T extends JObject?> (JType< T> type, {bool releaseOriginal = false}) → T -
Casts this object to another
type.inherited -
isA<
T extends JObject?> (JType< T> type) → bool -
Whether this object is of the given
typeignoring the type parameters.inherited -
isInstanceOf(
JClass jclass) → bool -
Whether this object is of the type of the given
jclass.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
Releases the underlying
reference.inherited -
releasedBy(
Arena arena) → void -
Registers this object to be released at the end of
arena's lifetime.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- cold → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth coldThe returned object must be released after use, by calling thereleasemethod.no setter - dead → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth deadThe returned object must be released after use, by calling thereleasemethod.no setter - good → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth goodThe returned object must be released after use, by calling thereleasemethod.no setter - over_voltage → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth over_voltageThe returned object must be released after use, by calling thereleasemethod.no setter - overheat → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth overheatThe returned object must be released after use, by calling thereleasemethod.no setter - unknown → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth unknownThe returned object must be released after use, by calling thereleasemethod.no setter - unspecified_failure → BatteryHealth
-
from:
static public final com.example.battery_ffi.BatteryHealth unspecified_failureThe returned object must be released after use, by calling thereleasemethod.no setter
Static Methods
-
valueOf(
JString? name) → BatteryHealth? -
from:
static public com.example.battery_ffi.BatteryHealth valueOf(java.lang.String name)The returned object must be released after use, by calling thereleasemethod. -
values(
) → JArray< BatteryHealth?> ? -
from:
static public com.example.battery_ffi.BatteryHealth[] values()The returned object must be released after use, by calling thereleasemethod.
Constants
-
nullableType
→ const JType<
BatteryHealth?> - The type which includes information such as the signature of this class.
-
type
→ const JType<
BatteryHealth> - The type which includes information such as the signature of this class.