public unsafe CustomGeometrySource(string id, global::Com.Mapbox.Mapboxsdk.Style.Sources.CustomGeometrySourceOptions options, global::Com.Mapbox.Mapboxsdk.Style.Sources.IGeometryTileProvider provider) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Ljava/lang/String;Lcom/mapbox/mapboxsdk/style/sources/CustomGeometrySourceOptions;Lcom/mapbox/mapboxsdk/style/sources/GeometryTileProvider;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_id = JNIEnv.NewString(id); try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue(native_id); __args [1] = new JniArgumentValue((options == null) ? IntPtr.Zero : ((global::Java.Lang.Object)options).Handle); __args [2] = new JniArgumentValue((provider == null) ? IntPtr.Zero : ((global::Java.Lang.Object)provider).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { JNIEnv.DeleteLocalRef(native_id); } }
static IntPtr n_WithClip_Z(IntPtr jnienv, IntPtr native__this, bool clip) { global::Com.Mapbox.Mapboxsdk.Style.Sources.CustomGeometrySourceOptions __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Style.Sources.CustomGeometrySourceOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.WithClip(clip))); }