public unsafe Builder(global::Android.Content.Context context, global::Com.Mapbox.Mapboxsdk.Maps.Style style) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Landroid/content/Context;Lcom/mapbox/mapboxsdk/maps/Style;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object)context).Handle); __args [1] = new JniArgumentValue((style == null) ? IntPtr.Zero : ((global::Java.Lang.Object)style).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public static unsafe global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder InvokeBuilder(global::Android.Content.Context context, global::Com.Mapbox.Mapboxsdk.Maps.Style fullyLoadedMapStyle) { const string __id = "builder.(Landroid/content/Context;Lcom/mapbox/mapboxsdk/maps/Style;)Lcom/mapbox/mapboxsdk/location/LocationComponentActivationOptions$Builder;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object)context).Handle); __args [1] = new JniArgumentValue((fullyLoadedMapStyle == null) ? IntPtr.Zero : ((global::Java.Lang.Object)fullyLoadedMapStyle).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }