PrinterStatus
com.brother.ptouch.sdk.PrinterStatus
class stores the status of the printer that is connected.
Properties
errorCode
An error code.
Declaration
final ErrorCode errorCode;
isACConnected
Information of AC adapter connection.
Declaration
final JNIStatus.BatteryTernary isACConnected;
isBatteryMounted
Information of battery connection.
Declaration
final JNIStatus.BatteryTernary isBatteryMounted;
batteryResidualQuantityLevel
The battery remaining level from 0
to maxOfBatteryResidualQuantityLevel
. When the battery is not supported or not mounted, the value is -1
.
Declaration
final int batteryResidualQuantityLevel;
maxOfBatteryResidualQuantityLevel
The maximum value of the battery level. When the battery is not supported or not mounted, the value is -1
.
Declaration
final int maxOfBatteryResidualQuantityLevel;
batteryLevel
The printer's battery level. This property is deprecated. Use isACConnected
, isBatteryMounted
, batteryResidualQuantityLevel
and maxOfBatteryResidualQuantityLevel
instead.
Deprecated
Types
JNIStatus.BatteryTernary
The definition yes, no or unknown.
Declaration
enum BatteryTernary { Yes, No, Unknown; }