C# 클래스 WPCordovaClassLib.Cordova.NativeExecution

Implements logic to execute native command and return result back. All commands are executed asynchronous.
파일 보기 프로젝트 열기: ChristianWeyer/tUdUs 1 사용 예제들

공개 메소드들

메소드 설명
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