LedManagerSetLed Method (Led, Boolean) |
Setting 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 SetLed(
Led id,
bool enable
)
Public Overridable Function SetLed (
id As Led,
enable As Boolean
) As Integer
Parameters
- id
- Type: Com.Datalogic.Device.NotificationLed
- Specifies which Led to control. - enable
- Type: SystemBoolean
- A boolean value set to true that enables the LED and a value of false that disables
the LED.
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
DeviceException error constants.
Exceptions Remarks See Also