DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:prevent_screen_lock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:prevent_screen_lock [2015/03/04 18:16]
octazid created
built_in:prevent_screen_lock [2018/02/18 17:38] (current)
176.221.123.246 [Description]
Line 8: Line 8:
  
 Use this method for tilt based apps where the user is not touching the screen regularly to keep the device awake. Use this method for tilt based apps where the user is not touching the screen regularly to keep the device awake.
 +
 +Also except **false** and **true** can have options app.PreventScreenLock( **"​Full"​** ), app.PreventScreenLock( **"​Partial"​** ).
  
 <​code>​ app.PreventScreenLock( prevent );</​code>​ <​code>​ app.PreventScreenLock( prevent );</​code>​
built_in/prevent_screen_lock.txt ยท Last modified: 2018/02/18 17:38 by 176.221.123.246