Package com.zebra.rfid.api3
Class LedInfo
java.lang.Object
com.zebra.rfid.api3.LedInfo
This class contains the LED information of the reader such as LED Color, duration and blink flag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBlink()Gets the Blink Flag of the readerintGets the led light on duration of the reader.Gets the LED Color of the readervoidsetBlink(boolean blink) Sets the Blink Flag of the readervoidsetDurationSeconds(int durationSeconds) Sets the led light on duration of the reader.voidsetLEDColor(LED_COLOR ledColor) Sets the LED Color of the reader
-
Constructor Details
-
LedInfo
public LedInfo()LoginInfo contructor -
LedInfo
Overloaded contructor takes LED Color, ducation and blink flag- Parameters:
ledColor- Specifies LED ColordurationSeconds- Duration in Seconds. If zero, the LED blinks continuouslyblink- Specifies LED to be blinked or not
-
-
Method Details
-
getLEDColor
Gets the LED Color of the reader -
setLEDColor
Sets the LED Color of the reader -
getBlink
public boolean getBlink()Gets the Blink Flag of the reader -
setBlink
public void setBlink(boolean blink) Sets the Blink Flag of the reader -
getDurationSeconds
public int getDurationSeconds()Gets the led light on duration of the reader.- Returns:
-
setDurationSeconds
public void setDurationSeconds(int durationSeconds) Sets the led light on duration of the reader. If zero, the LED blinks continuously- Parameters:
durationSeconds-
-