isForeground
Indicates if the mobile app is in foreground mode.
Syntax
ui.Interface.frontCall("mobile", "isForeground",
[], [result] )
- result - Is set to
TRUE
if the app is in foreground mode, orFALSE
if in background mode.
Usage
The "isForeground
" front call checks if the mobile app is currently in
foreground or background mode.
DEFINE fg BOOLEAN
CALL ui.Interface.frontCall("mobile", "isForeground", []. [fg] )
IF fg THEN
...
END IF
Use the isForeground
front call in conjunction with the enterforeground
and
enterbackground
predefined actions.