C# Класс WPCordovaClassLib.Cordova.NativeExecution

Implements logic to execute native command and return result back. All commands are executed asynchronous.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
InvokeScriptCallback ( ScriptCallback script ) : void

Executes client java script

OnCommandResult ( string callbackId, PluginResult result ) : void

Handles command execution result.

Описание методов

AutoLoadCommand() публичный Метод

public AutoLoadCommand ( string commandService ) : void
commandService string
Результат void

IsRunningOnEmulator() публичный статический Метод

Returns where application is running on emulator
public static IsRunningOnEmulator ( ) : bool
Результат bool

NativeExecution() публичный Метод

Creates new instance of a NativeExecution class.
public NativeExecution ( WebBrowser &browser ) : System
browser WebBrowser Reference to web part where application is hosted
Результат System

ProcessCommand() публичный Метод

Executes command and returns result back.
public ProcessCommand ( CordovaCommandCall commandCallParams ) : void
commandCallParams CordovaCommandCall Command to execute
Результат void

ResetAllCommands() публичный Метод

public ResetAllCommands ( ) : void
Результат void