Beispiel #1
0
        static IntPtr n_InvokeStartPoint_Lcom_baidu_mapapi_model_LatLng_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Baidu.Mapapi.Model.LatLng p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.LatLng> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeStartPoint(p0));

            return(__ret);
        }
Beispiel #2
0
        static IntPtr n_InvokeStartName_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeStartName(p0));

            return(__ret);
        }
Beispiel #3
0
        static IntPtr n_InvokeBusStrategyType_Lcom_baidu_mapapi_utils_route_RouteParaOption_EBusStrategyType_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption.EBusStrategyType p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption.EBusStrategyType> (native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeBusStrategyType(p0));

            return(__ret);
        }
Beispiel #4
0
 public static unsafe bool OpenBaiduMapTransitRoute(global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption p0, global::Android.Content.Context p1)
 {
     if (id_openBaiduMapTransitRoute_Lcom_baidu_mapapi_utils_route_RouteParaOption_Landroid_content_Context_ == IntPtr.Zero)
     {
         id_openBaiduMapTransitRoute_Lcom_baidu_mapapi_utils_route_RouteParaOption_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "openBaiduMapTransitRoute", "(Lcom/baidu/mapapi/utils/route/RouteParaOption;Landroid/content/Context;)Z");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         bool __ret = JNIEnv.CallStaticBooleanMethod(class_ref, id_openBaiduMapTransitRoute_Lcom_baidu_mapapi_utils_route_RouteParaOption_Landroid_content_Context_, __args);
         return(__ret);
     } finally {
     }
 }
Beispiel #5
0
 static IntPtr n_GetStartPoint(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.StartPoint));
 }
Beispiel #6
0
 static IntPtr n_GetEndName(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Utils.Route.RouteParaOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.EndName));
 }