Provides an interface to expose Android instance handles.

See Also: IJavaObject Members


public interface IJavaObject : IDisposable


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.


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