Package com.zebra.rfid.api3
Class LedInfo
- java.lang.Object
-
- com.zebra.rfid.api3.LedInfo
-
public class LedInfo extends java.lang.ObjectThis class contains the LED information of the reader such as LED Color, duration and blink flag
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBlink()Gets the Blink Flag of the readerintgetDurationSeconds()Gets the led light on duration of the reader.LED_COLORgetLEDColor()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 Detail
-
LedInfo
public LedInfo()
LoginInfo contructor
-
LedInfo
public LedInfo(LED_COLOR ledColor, int durationSeconds, boolean blink)
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 Detail
-
getLEDColor
public LED_COLOR getLEDColor()
Gets the LED Color of the reader
-
setLEDColor
public void setLEDColor(LED_COLOR ledColor)
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-
-
-