DatalogicScreensaverMove Method |
Moves a screensaver item to a specified position in the list.
Namespace:
Com.Datalogic.Decode
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0
(1.0.0.0)
Syntax
public virtual bool Move (Com.Datalogic.Device.Configuration.ScreensaverItem item, int position);
Public Virtual Boolean Move (Com.Datalogic.Device.Configuration.ScreensaverItem item, Integer position);
Parameters
- item
- Type: Com.Datalogic.Device.Configuration.ScreensaverItem
the screensaver item to move - position
- Type: System.Int32
the target position for the item
Return Value
Type: System.Boolean
true if the move was successful; false if the item was not found in the list
Remarks
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).
[Android Documentation]
See Also