Android.Runtime Namespace

Android platform integration support.

Classes

Name Description
AndroidEnvironment

Provides a way to manipulate the Android operating environment.

AndroidEnvironmentInternal

Provides a callback for runtime unhandled exceptions.

AndroidRuntimeInternal

Provides the runtime's bridge-processing wait operation.

AnnotationAttribute

Identifies the Java annotation represented by a managed attribute class.

CharSequence

Provides conversions between managed strings and Java character sequences and obtains local JNI references.

Extensions

Provides a set of helpful extension methods.

GeneratedEnumAttribute

Marks a binding value that represents a Java integer or integer array as a managed enumeration or enumeration array.

InputStreamAdapter

Adapts a .NET stream to the Java input stream API.

InputStreamInvoker

Wraps a Java input stream as a .NET stream.

IntDefAttribute

Records managed constant names for an Android integer-definition annotation.

IntDefinitionAttribute

Records source-field names associated with a generated enumeration member.

JavaArray<T>

Provides list access to a Java array.

JavaCollection

Collection is the root of the collection hierarchy.

JavaCollection<T>

Collection is the root of the collection hierarchy.

JavaDictionary

HashMap is an implementation of IMap.

JavaDictionary<K,V>

HashMap is an implementation of IMap.

JavaList

ArrayList is an implementation of IList, backed by an array.

JavaList<T>

ArrayList is an implementation of IList, backed by an array.

JavaSet

HashSet is an implementation of a Set.

JavaSet<T>

HashSet is an implementation of a Set.

JNIEnv

Provides methods and properties for working with JNI in the Android runtime.

JNINativeWrapper

Provides delegate wrappers for Java Native Interface (JNI) callbacks.

NamespaceMappingAttribute

Records a mapping from a Java package to a managed namespace.

OutputStreamAdapter

Adapts a .NET stream to the Java output stream API.

OutputStreamInvoker

Wraps a Java output stream as a .NET stream.

PreserveAttribute

Identifies code that older Android linkers should preserve. This attribute is obsolete; annotated members may still be trimmed. Use DynamicDependencyAttribute instead.

RaiseThrowableEventArgs

Provides data for the UnhandledExceptionRaiser event.

RegisterAttribute

This API supports the MonoDroid infrastructure and is not intended to be used directly from your code.

RequiresPermissionAttribute

Records an Android permission value associated with a member or parameter.

ResourceDesignerAttribute

Specifies the name of a resource designer type for an assembly.

ResourceIdManager

Provides a method that searches for an application resource designer and invokes its update method when available.

StringDefAttribute

Records managed constant names for an Android string-definition annotation.

TimingLogger

A class which uses the native .NET for Android runtime to accurately measure (to the nanosecond level) time spent executing a portion of code bracketed with calls to Start(String) (or the constructor, by default) and Stop(String). Timing messages are logged with the Info priority and the monodroid-timing tag in the device's logcat buffer.

TypeManager

Provides a mapping between Android types and managed types.

XAPeerMembers

Provides JNI peer member access with legacy threshold handling.

XmlPullParserReader

Exposes a Java XML pull parser as a .NET XML reader.

XmlReaderPullParser

Exposes a .NET XML reader through the XML pull parser interface.

XmlReaderResourceParser

Provides an Android XML resource parser over a .NET XML reader.

XmlResourceParserReader

Exposes a Java XML resource parser as a .NET XML reader.

Structs

Name Description
JValue

Represents a JNI jvalue union, used to pass arguments to Java methods via JNI function calls.

Interfaces

Name Description
IJavaObject

Provides an interface to expose Android instance handles.

Enums

Name Description
JniHandleOwnership

Specifies ownership and registration options for a JNI reference.