You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Platform Library > isDeviceModeRendering

14.4 isDeviceModeRendering

platform.isDeviceModeRendering()

Returns true if the script is running on the handheld or in the emulator of the desktop software. Returns false if the script is running in the normal view of the desktop software.

Note

platform.isDeviceModeRendering is not available during script initialization or within on.restore.

Introduced in platform.apiLevel = '1.0'