LedManagerSetLed Method (Led, Boolean, Int32) |
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,
int ARGB
)
Public Overridable Function SetLed (
id As Led,
enable As Boolean,
ARGB As Integer
) As Integer
Parameters
- id
- Type: Com.Datalogic.Device.NotificationLed
- Specifies which Led to control. - enable
- Type: SystemBoolean
- boolean value set to true to enable the LED, while set to false to disable
the LED. - ARGB
- Type: SystemInt32
- int value that specifies the led color in RGB 24 bits format, following the standard components defined in
[!:NoType:http://datalogic.github.io/android-sdk-docs/reference/android/graphics/Color;Href=http://datalogic.github.io/android-sdk-docs/reference/android/graphics/Color.html].
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
DeviceException error constants.
Exceptions Remarks See Also