static IntPtr n_AddPolygon_Lcom_tencent_mapsdk_raster_model_PolygonOptions_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Tencent.Tencentmap.Mapsdk.Map.MapFragmentUtil __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Tencentmap.Mapsdk.Map.MapFragmentUtil> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Tencent.Mapsdk.Raster.Model.PolygonOptions p0 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.PolygonOptions> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.AddPolygon(p0)); return(__ret); }
public virtual unsafe global::Com.Tencent.Mapsdk.Raster.Model.Polygon AddPolygon(global::Com.Tencent.Mapsdk.Raster.Model.PolygonOptions p0) { const string __id = "addPolygon.(Lcom/tencent/mapsdk/raster/model/PolygonOptions;)Lcom/tencent/mapsdk/raster/model/Polygon;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Tencent.Mapsdk.Raster.Model.Polygon> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }