Android Guides | Samples

Android.Runtime.AndroidEnvironment Class

Provides a way to manipulate the Android operating environment.

See Also: AndroidEnvironment

Syntax

public static class AndroidEnvironment

Remarks

Requirements

Namespace: Android.Runtime
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Runtime.AndroidEnvironment are listed below.

See Also: Object

Public Fields

const
AndroidLogAppNameString. A String containing the appname used by AndroidEnvironment.FailFast(String).

Public Methods

static
FailFast(String)
Writes message to the Android log and exits the process.
static
RaiseThrowable(Throwable)
Registers throwable as the exception to raise when control returns to the Android execution environment.

Public Events

static
UnhandledExceptionRaiser Occurs when translating a managed exception into an Android throwable.