Udostępnij za pośrednictwem


AndroidEnvironment Class

Definition

Provides a way to manipulate the Android operating environment.

public static class AndroidEnvironment
type AndroidEnvironment = class
Inheritance
AndroidEnvironment

Remarks

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.

Fields

AndroidLogAppName

A String containing the appname used by FailFast(String).

Methods

FailFast(String)

Writes message to the Android log and exits the process.

RaiseThrowable(Throwable)

Registers throwable as the exception to raise when control returns to the Android execution environment.

Events

UnhandledExceptionRaiser

Occurs when translating a managed exception into an Android throwable.

Applies to