static IntPtr n_GetPosition(IntPtr jnienv, IntPtr native__this) { LocatorData __this = Java.Lang.Object.GetObject <LocatorData> (native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Position)); }
public virtual void DownloadUpdate(global::Android.Content.Context p0, string p1, string p2) { if (id_downloadUpdate_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero) { id_downloadUpdate_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "downloadUpdate", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V"); } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = JNIEnv.NewString(p2); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_downloadUpdate_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_, new JValue(p0), new JValue(native_p1), new JValue(native_p2)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "downloadUpdate", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V"), new JValue(p0), new JValue(native_p1), new JValue(native_p2)); } JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); }
static IntPtr n_GetDistance(IntPtr jnienv, IntPtr native__this) { var __this = global::Java.Lang.Object.GetObject <global::Com.Fissoft.Beacon.Beacon> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Distance)); }
public static unsafe global::com.mopub.common.MoPubReward Failure() { if (id_failure == IntPtr.Zero) { id_failure = JNIEnv.GetStaticMethodID(class_ref, "failure", "()Lcom/mopub/common/MoPubReward;"); } try { return(global::Java.Lang.Object.GetObject <global::com.mopub.common.MoPubReward> (JNIEnv.CallStaticObjectMethod(class_ref, id_failure), JniHandleOwnership.TransferLocalRef)); } finally { } }
static IntPtr n_FindValueByNumber_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Google.Protobuf.Internal.IEnumLiteMap __this = global::Java.Lang.Object.GetObject <global::Com.Google.Protobuf.Internal.IEnumLiteMap> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.FindValueByNumber(p0))); }
static IntPtr n_GetId(IntPtr jnienv, IntPtr native__this) { global::Com.Tencent.Mapsdk.Raster.Model.IOverlay __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.IOverlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Id)); }
public virtual unsafe void Execute() { if (id_execute == IntPtr.Zero) { id_execute = JNIEnv.GetMethodID(class_ref, "execute", "()V"); } try { if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_execute); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "execute", "()V")); } } finally { } }
public virtual global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> GetPOIInside(global::Org.Osmdroid.Util.BoundingBoxE6 p0, int p1) { if (id_getPOIInside_Lorg_osmdroid_util_BoundingBoxE6_I == IntPtr.Zero) { id_getPOIInside_Lorg_osmdroid_util_BoundingBoxE6_I = JNIEnv.GetMethodID(class_ref, "getPOIInside", "(Lorg/osmdroid/util/BoundingBoxE6;I)Ljava/util/ArrayList;"); } global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> __ret; if (GetType() == ThresholdType) { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallObjectMethod(Handle, id_getPOIInside_Lorg_osmdroid_util_BoundingBoxE6_I, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getPOIInside", "(Lorg/osmdroid/util/BoundingBoxE6;I)Ljava/util/ArrayList;"), new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef); } return(__ret); }
public static global::Org.Android.Agoo.Net.Channel.VoteResult[] Values() { if (id_values == IntPtr.Zero) { id_values = JNIEnv.GetStaticMethodID(class_ref, "values", "()[Lorg/android/agoo/net/channel/VoteResult;"); } return((global::Org.Android.Agoo.Net.Channel.VoteResult[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_values), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Android.Agoo.Net.Channel.VoteResult))); }
public static global::Org.Android.Agoo.Net.Channel.VoteResult ValueOf(string p0) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lorg/android/agoo/net/channel/VoteResult;"); } IntPtr native_p0 = JNIEnv.NewString(p0); global::Org.Android.Agoo.Net.Channel.VoteResult __ret = global::Java.Lang.Object.GetObject <global::Org.Android.Agoo.Net.Channel.VoteResult> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, new JValue(native_p0)), JniHandleOwnership.TransferLocalRef); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public unsafe DelayedNeuron(global::Org.Neuroph.Core.Input.InputFunction p0, global::Org.Neuroph.Core.Transfer.TransferFunction p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() != typeof(DelayedNeuron)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lorg/neuroph/core/input/InputFunction;Lorg/neuroph/core/transfer/TransferFunction;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lorg/neuroph/core/input/InputFunction;Lorg/neuroph/core/transfer/TransferFunction;)V", __args); return; } if (id_ctor_Lorg_neuroph_core_input_InputFunction_Lorg_neuroph_core_transfer_TransferFunction_ == IntPtr.Zero) { id_ctor_Lorg_neuroph_core_input_InputFunction_Lorg_neuroph_core_transfer_TransferFunction_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorg/neuroph/core/input/InputFunction;Lorg/neuroph/core/transfer/TransferFunction;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lorg_neuroph_core_input_InputFunction_Lorg_neuroph_core_transfer_TransferFunction_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lorg_neuroph_core_input_InputFunction_Lorg_neuroph_core_transfer_TransferFunction_, __args); } finally { } }
public virtual unsafe double GetOutput(int p0) { if (id_getOutput_I == IntPtr.Zero) { id_getOutput_I = JNIEnv.GetMethodID(class_ref, "getOutput", "(I)D"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallDoubleMethod(((global::Java.Lang.Object) this).Handle, id_getOutput_I, __args)); } else { return(JNIEnv.CallNonvirtualDoubleMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getOutput", "(I)D"), __args)); } } finally { } }
public override unsafe void Write(int p0) { if (id_write_I == IntPtr.Zero) { id_write_I = JNIEnv.GetMethodID(class_ref, "write", "(I)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_write_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "write", "(I)V"), __args); } } finally { } }
static IntPtr n_GetRequestName(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Network.Socket.Requests.BaseGetUrlRequest __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Network.Socket.Requests.BaseGetUrlRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.RequestName)); }
public unsafe LptagRequest(string p0, string p1, global::System.Collections.Generic.IList <string> p2, global::Com.Liveperson.Infra.ICallback p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = global::Android.Runtime.JavaList <string> .ToLocalJniHandle(p2); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(LptagRequest)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/ICallback;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/ICallback;)V", __args); return; } if (id_ctor_Ljava_lang_String_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_ICallback_ == IntPtr.Zero) { id_ctor_Ljava_lang_String_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_ICallback_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/ICallback;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_ICallback_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_ICallback_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }
public virtual global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> GetPOICloseTo(global::Org.Osmdroid.Util.GeoPoint p0, int p1, double p2) { if (id_getPOICloseTo_Lorg_osmdroid_util_GeoPoint_ID == IntPtr.Zero) { id_getPOICloseTo_Lorg_osmdroid_util_GeoPoint_ID = JNIEnv.GetMethodID(class_ref, "getPOICloseTo", "(Lorg/osmdroid/util/GeoPoint;ID)Ljava/util/ArrayList;"); } global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> __ret; if (GetType() == ThresholdType) { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallObjectMethod(Handle, id_getPOICloseTo_Lorg_osmdroid_util_GeoPoint_ID, new JValue(p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getPOICloseTo", "(Lorg/osmdroid/util/GeoPoint;ID)Ljava/util/ArrayList;"), new JValue(p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); } return(__ret); }
static IntPtr n_GetId(IntPtr jnienv, IntPtr native__this) { global::Com.Applozic.Mobicomkit.Feed.GcmMessageResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.GcmMessageResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Id)); }
public virtual global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> GetThemXML(string p0) { if (id_getThemXML_Ljava_lang_String_ == IntPtr.Zero) { id_getThemXML_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getThemXML", "(Ljava/lang/String;)Ljava/util/ArrayList;"); } IntPtr native_p0 = JNIEnv.NewString(p0); global::System.Collections.Generic.IList <global::Org.Osmdroid.Bonuspack.Location.POI> __ret; if (GetType() == ThresholdType) { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallObjectMethod(Handle, id_getThemXML_Ljava_lang_String_, new JValue(native_p0)), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Android.Runtime.JavaList <global::Org.Osmdroid.Bonuspack.Location.POI> .FromJniHandle(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getThemXML", "(Ljava/lang/String;)Ljava/util/ArrayList;"), new JValue(native_p0)), JniHandleOwnership.TransferLocalRef); } JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public override sealed unsafe string 鷭(global::Android.Hardware.Usb.UsbDeviceConnection p0, global::Android.Hardware.Usb.UsbDevice p1) { if (id_鷭_Landroid_hardware_usb_UsbDeviceConnection_Landroid_hardware_usb_UsbDevice_ == IntPtr.Zero) { id_鷭_Landroid_hardware_usb_UsbDeviceConnection_Landroid_hardware_usb_UsbDevice_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Landroid/hardware/usb/UsbDeviceConnection;Landroid/hardware/usb/UsbDevice;)Ljava/lang/String;"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); string __ret = JNIEnv.GetString(JNIEnv.CallObjectMethod(Handle, id_鷭_Landroid_hardware_usb_UsbDeviceConnection_Landroid_hardware_usb_UsbDevice_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public global::Java.Lang.Object FindValueByNumber(int p0) { if (id_findValueByNumber_I == IntPtr.Zero) { id_findValueByNumber_I = JNIEnv.GetMethodID(class_ref, "findValueByNumber", "(I)Ljava/lang/Object;"); } return((Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallObjectMethod(Handle, id_findValueByNumber_I, new JValue(p0)), JniHandleOwnership.TransferLocalRef)); }
static IntPtr n_GetBody(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Api.Request.GeneratedUploadTokenField.Response __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GeneratedUploadTokenField.Response> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.GetBody())); }
static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this) { var __this = global::Java.Lang.Object.GetObject <global::Com.Fissoft.Beacon.Beacon> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Name)); }
public virtual unsafe global::Com.Liveperson.Api.Request.GeneratedUploadTokenField.Response.Body GetBody() { if (id_getBody == IntPtr.Zero) { id_getBody = JNIEnv.GetMethodID(class_ref, "getBody", "()Lcom/liveperson/api/request/GeneratedUploadTokenField$Response$Body;"); } try { if (((object)this).GetType() == ThresholdType) { return(global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GeneratedUploadTokenField.Response.Body> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getBody), JniHandleOwnership.TransferLocalRef)); } else { return(global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GeneratedUploadTokenField.Response.Body> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getBody", "()Lcom/liveperson/api/request/GeneratedUploadTokenField$Response$Body;")), JniHandleOwnership.TransferLocalRef)); } } finally { } }
public static unsafe global::com.mopub.common.MoPubReward Success(string p0, int p1) { if (id_success_Ljava_lang_String_I == IntPtr.Zero) { id_success_Ljava_lang_String_I = JNIEnv.GetStaticMethodID(class_ref, "success", "(Ljava/lang/String;I)Lcom/mopub/common/MoPubReward;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::com.mopub.common.MoPubReward __ret = global::Java.Lang.Object.GetObject <global::com.mopub.common.MoPubReward> (JNIEnv.CallStaticObjectMethod(class_ref, id_success_Ljava_lang_String_I, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static IntPtr n_GetMessageType(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Api.Request.GeneratedUploadTokenField __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Api.Request.GeneratedUploadTokenField> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.MessageType)); }
public LocatorData(global::Orbotix.Robot.Sensor.LocatorSensor p0, global::Orbotix.Robot.Sensor.LocatorSensor p1, global::Orbotix.Robot.Sensor.LocatorSensorState p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } if (GetType() != typeof(LocatorData)) { SetHandle(global::Android.Runtime.JNIEnv.CreateInstance(GetType(), "(Lorbotix/robot/sensor/LocatorSensor;Lorbotix/robot/sensor/LocatorSensor;Lorbotix/robot/sensor/LocatorSensorState;)V", new JValue(p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); return; } if (id_ctor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensorState_ == IntPtr.Zero) { id_ctor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensorState_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lorbotix/robot/sensor/LocatorSensor;Lorbotix/robot/sensor/LocatorSensor;Lorbotix/robot/sensor/LocatorSensorState;)V"); } SetHandle(JNIEnv.NewObject(class_ref, id_ctor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensor_Lorbotix_robot_sensor_LocatorSensorState_, new JValue(p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); }
protected override unsafe void ToJson(global::Org.Json.JSONObject p0) { if (id_toJson_Lorg_json_JSONObject_ == IntPtr.Zero) { id_toJson_Lorg_json_JSONObject_ = JNIEnv.GetMethodID(class_ref, "toJson", "(Lorg/json/JSONObject;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_toJson_Lorg_json_JSONObject_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "toJson", "(Lorg/json/JSONObject;)V"), __args); } } finally { } }
public static unsafe global::System.Collections.Generic.IList <global::Com.Qcl.VH.B.A.鷭> 鷭(global::Android.Database.ICursor p0) { if (id_鷭_Landroid_database_Cursor_ == IntPtr.Zero) { id_鷭_Landroid_database_Cursor_ = JNIEnv.GetStaticMethodID(class_ref, "鷭", "(Landroid/database/Cursor;)Ljava/util/ArrayList;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::System.Collections.Generic.IList <global::Com.Qcl.VH.B.A.鷭> __ret = global::Android.Runtime.JavaList <global::Com.Qcl.VH.B.A.鷭> .FromJniHandle(JNIEnv.CallStaticObjectMethod(class_ref, id_鷭_Landroid_database_Cursor_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public override unsafe void OnReceive(global::Android.Content.Context p0, global::Android.Content.Intent p1) { if (id_onReceive_Landroid_content_Context_Landroid_content_Intent_ == IntPtr.Zero) { id_onReceive_Landroid_content_Context_Landroid_content_Intent_ = JNIEnv.GetMethodID(class_ref, "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onReceive_Landroid_content_Context_Landroid_content_Intent_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V"), __args); } } finally { } }
public override unsafe void OnBindViewHolder(global::Android.Support.V7.Widget.RecyclerView.ViewHolder p0, int p1) { if (id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I == IntPtr.Zero) { id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I = JNIEnv.GetMethodID(class_ref, "onBindViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBindViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V"), __args); } } finally { } }
//ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface); // // http://mobilepearls.com/labs/native-android-api/ // X:\jsc.svn\examples\c\android\Test\TestNDK\TestNDK\xNativeActivity.cs // ANativeWindow public static native_window.ANativeWindow ANativeWindow_fromSurface( JNIEnv env, jobject surface) { return null; }