public class

LedActionSetBrightness

extends LedAction
java.lang.Object
   ↳ com.datalogic.extension.selfshopping.led.action.LedAction
     ↳ com.datalogic.extension.selfshopping.led.action.LedActionSetBrightness

Class Overview

LED action for setting the brightness of a LED.

Summary

Constants
String TYPE Set brightness action type.
Public Constructors
LedActionSetBrightness(int id, int brightness)
Default constructor for the set brightness action.
Public Methods
int getBrightness()
Returns the brightness value.
[Expand]
Inherited Methods
From class com.datalogic.extension.selfshopping.led.action.LedAction
From class java.lang.Object

Constants

public static final String TYPE

Added in revision 2

Set brightness action type.

Constant Value: "setBrightness"

Public Constructors

public LedActionSetBrightness (int id, int brightness)

Added in revision 2

Default constructor for the set brightness action.

Parameters
id The LED ID.
brightness The LED brightness to set (in percentage).

Public Methods

public int getBrightness ()

Added in revision 2

Returns the brightness value.

Returns
  • int The brightness value (in percentage).