static bool n_RemoveGeoFence_Lcom_amap_api_fence_GeoFence_(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.GeoFence p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Fence.GeoFence> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.RemoveGeoFence(p0); return(__ret); }
public virtual unsafe bool RemoveGeoFence(global::Com.Amap.Api.Fence.GeoFence p0) { const string __id = "removeGeoFence.(Lcom/amap/api/fence/GeoFence;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args); return(__rm); } finally { } }
public unsafe bool RemoveGeoFence(global::Com.Amap.Api.Fence.GeoFence p0) { if (id_removeGeoFence_Lcom_amap_api_fence_GeoFence_ == IntPtr.Zero) { id_removeGeoFence_Lcom_amap_api_fence_GeoFence_ = JNIEnv.GetMethodID(class_ref, "removeGeoFence", "(Lcom/amap/api/fence/GeoFence;)Z"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_removeGeoFence_Lcom_amap_api_fence_GeoFence_, __args); return(__ret); }