device
Provides methods for working within a native client (e.g. run commands on a desktop system)
Methods
executeDesktopCommand
executeDesktopCommand(
pCommand):void
Execute a command on the desktopclient without waiting for a response
Parameters
pCommand
string | number | booleanThe command to execute
Returns
voidThrows
May throw an exception.
executeDesktopCommandAndWait
executeDesktopCommandAndWait(
pCommand,pTimeout):string
Execute a command on the desktopclient and wait for the response
Parameters
pCommand
string | number | booleanThe command to execute
pTimeout
numberThe max time to wait in millis
Returns
stringThrows
May throw an exception.
hasNativeDesktopSupport
hasNativeDesktopSupport():
boolean
Returns true if the user uses the desktop client
Returns
boolean