Condividi tramite


Runtime.GetRuntime Method

Definition

Returns the runtime object associated with the current Java application.

[Android.Runtime.Register("getRuntime", "()Ljava/lang/Runtime;", "")]
public static Java.Lang.Runtime? GetRuntime ();
[<Android.Runtime.Register("getRuntime", "()Ljava/lang/Runtime;", "")>]
static member GetRuntime : unit -> Java.Lang.Runtime

Returns

the Runtime object associated with the current Java application.

Attributes

Remarks

Returns the runtime object associated with the current Java application. Most of the methods of class Runtime are instance methods and must be invoked with respect to the current runtime object.

Java documentation for java.lang.Runtime.getRuntime().

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