D0301
HTML Application SDK  A0.101
Public Member Functions | List of all members
Screenshot Interface Reference

import"ScreenshotPlugin.idl";

Public Member Functions

String takeScreenshot ([in] String screenshot_mode)
 

Detailed Description

This is a class which implements global Screenshot object.

Member Function Documentation

String Screenshot.takeScreenshot ( [in] String  screenshot_mode)

Takes the screenshot, downscales it by two in both dimensions, saves it to the path where the last external USB is mounted.

result = Screenshot.takeScreenshot("SVG");
Parameters
screenshot_modeMode of the screenshot. The available modes are 'SVG', 'HTML', 'TELETEXT', 'SUBTITLE', and 'COMPOSITE' as a string parameter. Returns 'undefined' otherwise. SVG mode is used for menus, dialogs etc. HTML mode is used by web engine. TELETEXT mode is used for teletext. SUBTITLE mode is used for DVB Subtitles. COMPOSITE mode is used to take screenshot of the whole screen.
Returns
The path where the screenshot is saved.

The documentation for this interface was generated from the following file: