Skip to main content

mobileIdleTimerLocked

Type​

function

Summary​

Determine whether the idleTimer is currently locked.

Syntax​

mobileIdleTimerLocked()

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.

Examples​

mobileIdleTimerLocked()
if mobileIdleTimerLocked() is true then 
mobileUnlockIdleTimer
end if

Value​

NameTypeDescription

return

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

command: mobileLockIdleTimer, mobileUnlockIdleTimer

Compatibility and Support​

Introduced

LiveCode 5.5

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?