ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
BrightnessGet (Function)
In french: LuminositéRécupère
Returns the current setting of the brightness for the screen of the device.
Remark: This function can be used in the emulator.
Example
nBrightness is int = BrightnessGet()
Syntax
<Result> = BrightnessGet()
<Result>: Integer
Current setting for the brightness of the screen in manual mode, included between 0 and 100.
AndroidAndroid Widget Caution: If the setting of the lightness is in automatic mode, the returned value can differ from the real lightness of the screen. To find out whether the setting was performed in automatic mode, use BrightnessAuto.
Remarks
  • To modify the value of the current setting for the brightness of the screen, use BrightnessModify.
  • AndroidAndroid Widget BrightnessAuto returns or modifies the activation status of the automatic adjustment of the brightness on the device.
Related Examples:
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- Vibration
- Notifications
- Drawing functions
- Internet
Component: wd290android.aar
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help