java.lang.Object | ||
↳ | com.datalogic.device.configuration.SerializableBlob | |
↳ | com.datalogic.device.configuration.DatalogicScreensaver |
DatalogicScreensaver
implements the BlobProperty that allows to manage Screensaver configuration if `Datalogic Screensaver` app
is used to show screensaver on the device.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DatalogicScreensaver.Builder | Builder class for constructing instances of DatalogicScreensaver . |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_BACKGROUND_COLOR | Default value for ScreensaverAnimation background. |
|||||||||
int | DURATION_MAX_S | Maximum value for ScreensaverAnimation duration in seconds. |
|||||||||
int | DURATION_MIN_S | Minimum value for ScreensaverAnimation duration in seconds. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
| |||||||||||
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a list of screensavers to screensavers list
| |||||||||||
Add a screensaver to screensavers list
| |||||||||||
Add a screensaver to screensavers list at a specific index.
| |||||||||||
Clear screensavers list
| |||||||||||
Retrieve the list of screensavers.
| |||||||||||
Finds the index of a screensaver in the list.
| |||||||||||
Moves a screensaver item to a specified position in the list.
| |||||||||||
Remove a screensaver from screensavers list.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Default value for ScreensaverAnimation
background.
Maximum value for ScreensaverAnimation
duration in seconds.
Minimum value for ScreensaverAnimation
duration in seconds.
Constructor
screensaver | List
|
---|
Add a list of screensavers to screensavers list
items | list of the screensaver to add |
---|
Add a screensaver to screensavers list
item | screensaver to add |
---|
Add a screensaver to screensavers list at a specific index.
index | index where the item will be inserted |
---|---|
item | screensaver to add |
Retrieve the list of screensavers.
Finds the index of a screensaver in the list.
item | the screensaver to find |
---|
Moves a screensaver item to a specified position in the list. If the specified position is out of bounds, it will be adjusted to the nearest valid index (0 if below the lower bound, or the last index if above the upper bound).
item | the screensaver item to move |
---|---|
position | the target position for the item |
true
if the move was successful; false
if the item was not found in the list
Remove a screensaver from screensavers list.
item | the screensaver to remove |
---|
boolean