Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 338 Bytes

FrontLightController.md

File metadata and controls

7 lines (4 loc) · 338 Bytes

Provide methods to turn on/off front light, get/set front light level.

You need declare WRITE_SETTINGS permission in the AndroidManifest.xml

<uses-permission android:name="android.permission.WRITE_SETTINGS" />

You can see sample code in FrontLightDemoActivity