public class CradleLedFlashInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
offDuration
Cradle LED off time in milliseconds.This is in mSecs and the range is from 0 mSec (minimum) to 65535 mSec (maximum) seconds.
|
int |
onDuration
Cradle LED on time in milliseconds.This is in mSecs and the range is from 0 mSec (minimum) to 65535 mSec (maximum) seconds.
|
boolean |
smoothEffect
Enable or disable the smooth effect of the LED blinking
|
Constructor and Description |
---|
CradleLedFlashInfo(int onDuration,
int offDuration,
boolean smoothEffect)
Constructor to instantiate the CradleLEDConfig.
|
public int onDuration
public int offDuration
public boolean smoothEffect
public CradleLedFlashInfo(int onDuration, int offDuration, boolean smoothEffect)
onDuration:
- LED on Duration in milliseconds .This is in mSecs and the range is from 0 mSec (minimum) to 65535 mSec (maximum) seconds.offduration:
- LED off Duration in milliseconds .This is in mSecs and the range is from 0 mSec (minimum) to 65535 mSec (maximum) seconds.smoothEffect:
- True - enable smooth effect, False - disable smooth effect