Esempio n. 1
0
            static IntPtr n_LocationComponentOptions_Lcom_mapbox_mapboxsdk_location_LocationComponentOptions_(IntPtr jnienv, IntPtr native__this, IntPtr native_locationComponentOptions)
            {
                global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
                global::Com.Mapbox.Mapboxsdk.Location.LocationComponentOptions locationComponentOptions = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.LocationComponentOptions> (native_locationComponentOptions, JniHandleOwnership.DoNotTransfer);
                IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.LocationComponentOptions(locationComponentOptions));

                return(__ret);
            }
Esempio n. 2
0
            public virtual unsafe global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder LocationComponentOptions(global::Com.Mapbox.Mapboxsdk.Location.LocationComponentOptions locationComponentOptions)
            {
                const string __id = "locationComponentOptions.(Lcom/mapbox/mapboxsdk/location/LocationComponentOptions;)Lcom/mapbox/mapboxsdk/location/LocationComponentActivationOptions$Builder;";

                try {
                    JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                    __args [0] = new JniArgumentValue((locationComponentOptions == null) ? IntPtr.Zero : ((global::Java.Lang.Object)locationComponentOptions).Handle);
                    var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                    return(global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.LocationComponentActivationOptions.Builder> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
                } finally {
                }
            }