mobileIdleTimerLocked

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileIdleTimerLocked()
Synonymsiphoneidletimerlocked
Summary

Determine whether the idleTimer is currently locked.

Introduced5.5
OSios, android
Platformsmobile
Example
mobileIdleTimerLocked()
if mobileIdleTimerLocked() is true then 
  mobileUnlockIdleTimer
end if
Values
NameTypeDescription
return

The mobileIdleTimerLocked function returns true if the idle timer is currently locked or false otherwise.

RelatedCommand: mobileLockIdleTimer, mobileUnlockIdleTimer
Description

Use the mobileIdleTimerLocked command to determine whether the idleTimer is currently locked. By default, iOS and Android devices will dim the screen and eventually lock the device after periods of no user interaction. Use the mobileLockIdleTimer and mobileUnlockIdleTimer to control the idleTimer.