C# Class WPCordovaClassLib.Cordova.NativeExecution

Implements logic to execute native command and return result back. All commands are executed asynchronous.
Afficher le fichier Open project: ChristianWeyer/tUdUs Class Usage Examples

Méthodes publiques

Méthode Description
AutoLoadCommand ( string commandService ) : void
IsRunningOnEmulator ( ) : bool

Returns where application is running on emulator

NativeExecution ( WebBrowser &browser ) : System

Creates new instance of a NativeExecution class.

ProcessCommand ( CordovaCommandCall commandCallParams ) : void

Executes command and returns result back.

ResetAllCommands ( ) : void

Private Methods

Méthode Description
InvokeScriptCallback ( ScriptCallback script ) : void

Executes client java script

OnCommandResult ( string callbackId, PluginResult result ) : void

Handles command execution result.

Method Details

AutoLoadCommand() public méthode

public AutoLoadCommand ( string commandService ) : void
commandService string
Résultat void

IsRunningOnEmulator() public static méthode

Returns where application is running on emulator
public static IsRunningOnEmulator ( ) : bool
Résultat bool

NativeExecution() public méthode

Creates new instance of a NativeExecution class.
public NativeExecution ( WebBrowser &browser ) : System
browser WebBrowser Reference to web part where application is hosted
Résultat System

ProcessCommand() public méthode

Executes command and returns result back.
public ProcessCommand ( CordovaCommandCall commandCallParams ) : void
commandCallParams CordovaCommandCall Command to execute
Résultat void

ResetAllCommands() public méthode

public ResetAllCommands ( ) : void
Résultat void