Ejemplo n.º 1
0
        public virtual unsafe void SetData(global::Com.Baidu.Mapapi.Search.Route.WalkingRouteLine p0)
        {
            if (id_setData_Lcom_baidu_mapapi_search_route_WalkingRouteLine_ == IntPtr.Zero)
            {
                id_setData_Lcom_baidu_mapapi_search_route_WalkingRouteLine_ = JNIEnv.GetMethodID(class_ref, "setData", "(Lcom/baidu/mapapi/search/route/WalkingRouteLine;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_setData_Lcom_baidu_mapapi_search_route_WalkingRouteLine_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setData", "(Lcom/baidu/mapapi/search/route/WalkingRouteLine;)V"), __args);
                }
            } finally {
            }
        }
Ejemplo n.º 2
0
 static void n_SetData_Lcom_baidu_mapapi_search_route_WalkingRouteLine_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Baidu.Mapapi.Overlayutil.WalkingRouteOverlay __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Overlayutil.WalkingRouteOverlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Baidu.Mapapi.Search.Route.WalkingRouteLine   p0     = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Route.WalkingRouteLine> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetData(p0);
 }