Class JavaScript
java.lang.Object
org.schabi.newpipe.extractor.utils.JavaScript
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcompileOrThrow(String function) static Stringstatic voidsetExternalJavaScriptInterpreter(JavaScriptInterpreter javaScriptInterpreter) Sets an external JavaScript interpreter, that is used to run JavaScript code.
-
Method Details
-
compileOrThrow
-
run
-
setExternalJavaScriptInterpreter
public static void setExternalJavaScriptInterpreter(@Nullable JavaScriptInterpreter javaScriptInterpreter) Sets an external JavaScript interpreter, that is used to run JavaScript code.- Parameters:
javaScriptInterpreter- the complete JavaScript base player code
-