DLCradleManagerBlinkLed Method |
Blinks a specific LED on the cradle.
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 BlinkLed (Com.Datalogic.Cradle.CradleLed id, int colorArgb, int blinkCount, int onDurationMs, int offDurationMs);
Public Virtual Boolean BlinkLed (Com.Datalogic.Cradle.CradleLed id, Integer colorArgb, Integer blinkCount, Integer onDurationMs, Integer offDurationMs);
Parameters
- id
- Type: Com.Datalogic.Cradle.CradleLed
The CradleLed representing the LED to be blinked. - colorArgb
- Type: System.Int32
The ARGB color value to set for the LED during blinking. - blinkCount
- Type: System.Int32
The number of times the LED should blink. Range: [0 : 65535]. If set to 0, the LED will blink indefinitely. - onDurationMs
- Type: System.Int32
The duration (in milliseconds) the LED stays ON during each blink. Range: [0 : 65535]. - offDurationMs
- Type: System.Int32
The duration (in milliseconds) the LED stays OFF during each blink. Range: [0 : 65535].
Return Value
Type: System.Boolean
true if the operation was successful, false otherwise.
Remarks
Blinks a specific LED on the cradle.
This method allows blinking a specific LED identified by its ID. The blink count,
duration of the ON state, and duration of the OFF state can be configured.
[Android Documentation]
See Also