Android.Runtime.IJavaObject
Provides an interface to expose Android instance handles.

See Also: IJavaObject Members

Syntax

public interface IJavaObject : IDisposable

Remarks

NEVER IMPLEMENT THIS INTERFACE YOURSELF. Implement this interface by inheriting from Java.Lang.Object. See the Android Callable Wrappers documentation for more information.

The IJavaObject interface acts as a "bridge" between the Android and Mono virtual machines. The IJavaObject.Handle must be a Java Native Interface (JNI) jobject value referencing a valid object allocated within the Java VM. Such an object could be allocated via JNIEnv.NewObject, but it is preferrable to subclass Java.Lang.Object to implement the IJavaObject.Handle property.

Requirements

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