DeviceBrightness()

Syntax

DeviceBrightness(Brightness)
Description
Change the screen brightness value.

Parameters

Brightness A value between 0 (full dark) and 100 (full bright). If set to #PB_Default, it will reset the brightness value to the default system value

Return value

None.

Example

  DeviceBrightness(100) ; Full brightness, for example to display a barcode/QR code to scan

Supported OS

Android, iOS

<- DeviceAlwaysOn() - System Index - DeviceInfo() ->