Module: siteKiosk.system

A module which provides access to other system modules and shell execution.

Members

<static> android :siteKiosk.system.android

Type:

<static> apps :siteKiosk.system.apps

Type:

<static> audio :siteKiosk.system.audio

Type:

<static> battery :siteKiosk.system.battery

Type:

<static> environment :siteKiosk.system.environment

Type:

<static> file :siteKiosk.system.file

Type:
  • siteKiosk.system.file

<static> keyboard :siteKiosk.system.keyboard

Type:

<static> language :siteKiosk.system.language

Type:
  • siteKiosk.system.language

<static> network :siteKiosk.system.network

Type:

<static> power :siteKiosk.system.power

Type:

<static> printing :siteKiosk.system.printing

Type:
  • siteKiosk.system.printing

<static> progress :siteKiosk.system.progress

Type:

<static> windows :siteKiosk.system.windows

Type:
  • siteKiosk.system.windows

Methods

<static> execute(command, callback, rootRequired, timeout)

Executes an shell command.
Parameters:
Name Type Description
command string The command line to be executed
callback The callback being invoked when the shell execution terminates
rootRequired boolean Whether this command should use the "su" binary, or not
timeout number The timeout in milliseconds

<static> hasLockModeSet()

Returns whether the system lock mode (password, gesture, eg.) has been set.

Type Definitions

executeCallback()

A callback being invoked when a shell execution terminates.