EventListenerProxy Constructors

Definition

Overloads

EventListenerProxy(Object)

Creates a proxy for the specified listener.

EventListenerProxy(IEventListener)

Creates a proxy for the specified listener.

EventListenerProxy(IntPtr, JniHandleOwnership)

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

EventListenerProxy(Object)

Creates a proxy for the specified listener.

[Android.Runtime.Register(".ctor", "(Ljava/util/EventListener;)V", "", ApiSince=24)]
public EventListenerProxy (Java.Lang.Object? listener);
[<Android.Runtime.Register(".ctor", "(Ljava/util/EventListener;)V", "", ApiSince=24)>]
new Java.Util.EventListenerProxy : Java.Lang.Object -> Java.Util.EventListenerProxy

Parameters

listener
Object

the listener object

Attributes

Remarks

Creates a proxy for the specified listener.

Java documentation for java.util.EventListenerProxy.EventListenerProxy(T).

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

EventListenerProxy(IEventListener)

Creates a proxy for the specified listener.

[Android.Runtime.Register(".ctor", "(Ljava/util/EventListener;)V", "")]
public EventListenerProxy (Java.Util.IEventListener? listener);
[<Android.Runtime.Register(".ctor", "(Ljava/util/EventListener;)V", "")>]
new Java.Util.EventListenerProxy : Java.Util.IEventListener -> Java.Util.EventListenerProxy

Parameters

listener
IEventListener

the listener object

Attributes

Remarks

Creates a proxy for the specified listener.

Java documentation for java.util.EventListenerProxy.EventListenerProxy(T).

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

EventListenerProxy(IntPtr, JniHandleOwnership)

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

protected EventListenerProxy (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.EventListenerProxy : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.EventListenerProxy

Parameters

javaReference
IntPtr

nativeint

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

transfer
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