@Properties(inherit=windows.class) public class SYSTEM_BATTERY_STATE extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SYSTEM_BATTERY_STATE()
Default native constructor.
|
SYSTEM_BATTERY_STATE(long size)
Native array allocator.
|
SYSTEM_BATTERY_STATE(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AcOnLine() |
SYSTEM_BATTERY_STATE |
AcOnLine(boolean setter) |
boolean |
BatteryPresent() |
SYSTEM_BATTERY_STATE |
BatteryPresent(boolean setter) |
boolean |
Charging() |
SYSTEM_BATTERY_STATE |
Charging(boolean setter) |
int |
DefaultAlert1() |
SYSTEM_BATTERY_STATE |
DefaultAlert1(int setter) |
int |
DefaultAlert2() |
SYSTEM_BATTERY_STATE |
DefaultAlert2(int setter) |
boolean |
Discharging() |
SYSTEM_BATTERY_STATE |
Discharging(boolean setter) |
int |
EstimatedTime() |
SYSTEM_BATTERY_STATE |
EstimatedTime(int setter) |
int |
MaxCapacity() |
SYSTEM_BATTERY_STATE |
MaxCapacity(int setter) |
SYSTEM_BATTERY_STATE |
position(long position) |
int |
Rate() |
SYSTEM_BATTERY_STATE |
Rate(int setter) |
int |
RemainingCapacity() |
SYSTEM_BATTERY_STATE |
RemainingCapacity(int setter) |
BoolPointer |
Spare1() |
boolean |
Spare1(int i) |
SYSTEM_BATTERY_STATE |
Spare1(int i,
boolean setter) |
byte |
Tag() |
SYSTEM_BATTERY_STATE |
Tag(byte setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public SYSTEM_BATTERY_STATE()
public SYSTEM_BATTERY_STATE(long size)
Pointer.position(long)
.public SYSTEM_BATTERY_STATE(Pointer p)
Pointer.Pointer(Pointer)
.public SYSTEM_BATTERY_STATE position(long position)
public SYSTEM_BATTERY_STATE AcOnLine(boolean setter)
public SYSTEM_BATTERY_STATE BatteryPresent(boolean setter)
public SYSTEM_BATTERY_STATE Charging(boolean setter)
public SYSTEM_BATTERY_STATE Discharging(boolean setter)
public SYSTEM_BATTERY_STATE Spare1(int i, boolean setter)
@MemberGetter @Cast(value="BOOLEAN*") public BoolPointer Spare1()
public SYSTEM_BATTERY_STATE Tag(byte setter)
public SYSTEM_BATTERY_STATE MaxCapacity(int setter)
public SYSTEM_BATTERY_STATE RemainingCapacity(int setter)
public SYSTEM_BATTERY_STATE Rate(int setter)
public SYSTEM_BATTERY_STATE EstimatedTime(int setter)
public SYSTEM_BATTERY_STATE DefaultAlert1(int setter)
public SYSTEM_BATTERY_STATE DefaultAlert2(int setter)
Copyright © 2020. All rights reserved.