MainBattery Method

This member of Class WaveLinkTerminal is supported on: iOS, DOS, Palm

The MainBattery Method returns the state of the current device's main battery.

Syntax

public int MainBattery()

Returns

The state of the main battery

Remarks

The possible main battery states are:

MAINBATGOOD - Strong charge

MAINBATLOW - Weak charge

To improve network efficiency, the terminal settings within the WaveLinkTerminal object are only set when the object is first created. To return the most current information you must first use the ReadTerminalInfo Method, which updates the WaveLinkTerminal object with the latest device settings, before making a call to any other methods.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal