Click or drag to resize

DLSecondDisplayManagerSetBrightness Method

Set brightness level on 2nd display

Namespace:  Com.Datalogic.Device.Display
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool SetBrightness(
	int brightness
)

Parameters

brightness
Type: SystemInt32
- Brightness percentage level for 2nd display: Values lower than 0 or higher than 100 will be cropped respectevely to 0 and 100.

Return Value

Type: Boolean
boolean True if Apps can show notification, false otherwise.
Exceptions
ExceptionCondition
ErrorManager
Remarks

Set brightness level on 2nd display

[Android Documentation]

See Also