|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILEDStripControlCapability
This interface represents the RAPI led strip control capability contract.
| Method Summary | |
|---|---|
void |
resetDefaultColor()
Resets the default color to WHITE color with 'IDLE' priority. |
void |
setDefaultColor(SegmentColor color,
LEDStripUserStatePriority priority)
Sets a default LED Strip color as a LED Strip state. * Only one default color can be set, the previously set default is always removed during a new setDefaultColor() invocation |
boolean |
showUserEffect()
Starts the last given user effect "indefinitely". |
boolean |
showUserEffect(ILedStripUserEffect effect)
Stops the previously activated user led strip effect, if there is any, and starts the given effect "indefinitely". |
boolean |
showUserEffect(ILedStripUserEffect effect,
long timeout)
Stops the previously activated user led strip effect, if there is any, and starts the given effect for the given duration. |
boolean |
showUserEffect(long timeout)
Starts the last given user effect for the passed timeout. |
void |
showWarningSignal()
Shows a distinctive warning signal (flashing yellow color) on the LED strip. |
void |
showWarningSignal(long timeout)
Shows a warning signal (flashing yellow color) on the LED strip. |
boolean |
stopUserEffect()
Stops the active user effect. |
void |
stopWarningSignal()
Stops all warning signals, if any. |
| Method Detail |
|---|
void showWarningSignal(long timeout)
timeout - The time in milliseconds while the warning signal is visible. Giving a timeout lesser than or equals
zero will stop the signal.void showWarningSignal()
void stopWarningSignal()
boolean showUserEffect(ILedStripUserEffect effect)
effect - custom user effect.
boolean showUserEffect(long timeout)
timeout - duration of the effect [ms].
boolean showUserEffect()
boolean showUserEffect(ILedStripUserEffect effect,
long timeout)
effect - custom user effect.timeout - duration of the effect [ms]
boolean stopUserEffect()
void setDefaultColor(SegmentColor color,
LEDStripUserStatePriority priority)
color - color of all segments, when the default color is active.priority - priority of the default color [User,CHARGING,IDLE].void resetDefaultColor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||