static void n_OnGeoFenceCreateFinished_Ljava_util_List_ILjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2) { global::Com.Amap.Api.Fence.IGeoFenceListener __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.IGeoFenceListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var p0 = global::Android.Runtime.JavaList <global::Com.Amap.Api.Fence.GeoFence> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); __this.OnGeoFenceCreateFinished(p0, p1, p2); }
public unsafe void SetGeoFenceListener(global::Com.Amap.Api.Fence.IGeoFenceListener p0) { if (id_setGeoFenceListener_Lcom_amap_api_fence_GeoFenceListener_ == IntPtr.Zero) { id_setGeoFenceListener_Lcom_amap_api_fence_GeoFenceListener_ = JNIEnv.GetMethodID(class_ref, "setGeoFenceListener", "(Lcom/amap/api/fence/GeoFenceListener;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setGeoFenceListener_Lcom_amap_api_fence_GeoFenceListener_, __args); }
public virtual unsafe void SetGeoFenceListener(global::Com.Amap.Api.Fence.IGeoFenceListener p0) { const string __id = "setGeoFenceListener.(Lcom/amap/api/fence/GeoFenceListener;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
static void n_SetGeoFenceListener_Lcom_amap_api_fence_GeoFenceListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amap.Api.Fence.IGeoFenceManagerBase __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.IGeoFenceManagerBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amap.Api.Fence.IGeoFenceListener p0 = (global::Com.Amap.Api.Fence.IGeoFenceListener)global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.IGeoFenceListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetGeoFenceListener(p0); }