Class JNetEventData
Helper class able to simpify definition of data associated to events
public sealed class JNetEventData : CLREventData<JNetEventResult>, IDisposable
- Inheritance
-
JNetEventData
- Implements
- Extension Methods
Constructors
JNetEventData(IJavaObject)
Initialize a new CLREventData<TObject>
public JNetEventData(IJavaObject javaObject)
Parameters
javaObjectIJavaObject
Properties
HasOverride
Set to true if the method applied an override
public bool HasOverride { get; set; }
Property Value
ReturnData
The object to be returned to the JVM side. This property is intentionally read-only: setting it directly is not supported because JVM-side handling raises an exception. Use SetReturnData(bool, object) to set both override state and return data in a supported way.
public object ReturnData { get; }
Property Value
Methods
SetReturnData(bool, object)
Helper function to set both HasOverride and ReturnData
public void SetReturnData(bool hasOverride, object retData)