Compiler.CompileClasses(String) Method

Definition

Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful.

[Android.Runtime.Register("compileClasses", "(Ljava/lang/String;)Z", "")]
public static bool CompileClasses (string? nameRoot);
[<Android.Runtime.Register("compileClasses", "(Ljava/lang/String;)Z", "")>]
static member CompileClasses : string -> bool

Parameters

nameRoot
String

the string to match class names with.

Returns

true if the compilation has been successful; false if it has failed or if there is no JIT compiler available.

Attributes

Remarks

Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful. Does nothing and returns false on Android.

Java documentation for java.lang.Compiler.compileClasses(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to