Table of Contents

SetScreenBrightness

(Information and examples taken from the DroidScript documentation)

Description

The SetScreenBrightness method sets the screen brightness for this App with a decimal value level between 0 and 1.

 app.SetScreenBrightness( brightness );

Example

function OnStart()
{
  app.SetScreenBrightness( 0.25 );
}