LedManagerBlinkLed Method (Led, Int32, Int32, Int32) |
Blinking led method.
Namespace:
Com.Datalogic.Device.Notification
Assembly:
datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual int BlinkLed(
Led id,
int count,
int onMS,
int offMS
)
Public Overridable Function BlinkLed (
id As Led,
count As Integer,
onMS As Integer,
offMS As Integer
) As Integer
Parameters
- id
- Type: Com.Datalogic.Device.NotificationLed
- Specifies which Led to control. - count
- Type: SystemInt32
- int value that specifies how many on/off cycles should be performed before
the LED is turned off. If set to zero, then the LED is turned
off immediately. If set to -1, the LED is cycled until it is
explicitly turned off. - onMS
- Type: SystemInt32
- int value that specifies how long (in ms) during an on/off cycle the LED
should be turned on. If set to zero, the LED is simply turned
off. - offMS
- Type: SystemInt32
- int range that specifies how long (in ms) during an on/off cycle the LED
should be turned off. If set to zero, the LED remains on until
all cycles are complete.
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
DeviceException error constants.
Exceptions Remarks See Also