Difference between revisions of "platform.isTabletModeRendering"
Jump to navigation
Jump to search
(Created page with "platform.'''isTabletModeRendering''' is a function that is part of platform. Returns a boolean : * ''true'' if the script is running on a tablet device...") |
(No difference)
|
Revision as of 13:35, 9 July 2013
platform.isTabletModeRendering is a function that is part of platform.
Returns a boolean :
- true if the script is running on a tablet device (iPad app, for example).
- false if the script is running somewhere else (Calculator, Computer software...).
This has been introduced in TI-Nspire OS 3.0 (Changes).
Syntax
platform.isTabletModeRendering()
Example
isTablet = platform.isTabletModeRendering()
-- will set the boolean isTablet to true
See also