Flashlight
Introduction
This sample simulates a flashlight by changing the screen brightness. If the screen becomes brighter, the flashlight is turned on. If the screen becomes darker, the flashlight is turned off.
Usage Instruction
Touch the flashlight icon on the app screen to turn on or off the flashlight.
Constraints
-
This sample can only be run on standard-system devices.
-
The DevEco Studio version used in this sample must be 3.0.0.900 or later.