Package 

Interface JSEvaluator


  • 
    public interface JSEvaluator
    
                        

    javascript evaluator, it provides a sets of functions to manipulate the EthereumKeystore

    • Method Summary

      Modifier and Type Method Description
      abstract Unit evaluateJS(String js, ValueCallback<String> callback) Call webView to evaluate javascript, and gives callback with result
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • evaluateJS

         abstract Unit evaluateJS(String js, ValueCallback<String> callback)

        Call webView to evaluate javascript, and gives callback with result

        Parameters:
        js -
        • javascript that going to be evaluated

        callback -
        • a StringValueCallback with the result from javascript evaluation, can be null if there is an error, or no return value from the javascript call