Proxy Proxy Constructors

Definition

Overloads

Proxy(IInvocationHandler) Proxy(IInvocationHandler)

Constructs a new Proxy instance with the specified invocation handler.

Proxy(IntPtr, JniHandleOwnership) Proxy(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Proxy(IInvocationHandler) Proxy(IInvocationHandler)

Constructs a new Proxy instance with the specified invocation handler.

[Android.Runtime.Register(".ctor", "(Ljava/lang/reflect/InvocationHandler;)V", "")]
protected Proxy (Java.Lang.Reflect.IInvocationHandler h);
new Java.Lang.Reflect.Proxy : Java.Lang.Reflect.IInvocationHandler -> Java.Lang.Reflect.Proxy

Parameters

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.

Proxy(IntPtr, JniHandleOwnership) Proxy(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Proxy (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.Reflect.Proxy : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.Reflect.Proxy

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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.

Applies to