static void n_SetUid_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Core.RouteNode __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.Uid = p0; }
public static unsafe global::Com.Baidu.Mapapi.Search.Core.RouteNode InvokeLocation(global::Com.Baidu.Mapapi.Model.LatLng p0) { if (id_location_Lcom_baidu_mapapi_model_LatLng_ == IntPtr.Zero) { id_location_Lcom_baidu_mapapi_model_LatLng_ = JNIEnv.GetStaticMethodID(class_ref, "location", "(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/search/core/RouteNode;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Baidu.Mapapi.Search.Core.RouteNode __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (JNIEnv.CallStaticObjectMethod(class_ref, id_location_Lcom_baidu_mapapi_model_LatLng_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe global::Com.Baidu.Mapapi.Search.Core.RouteNode TitleAndLocation(string p0, global::Com.Baidu.Mapapi.Model.LatLng p1) { if (id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_ == IntPtr.Zero) { id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_ = JNIEnv.GetStaticMethodID(class_ref, "titleAndLocation", "(Ljava/lang/String;Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/search/core/RouteNode;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); global::Com.Baidu.Mapapi.Search.Core.RouteNode __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (JNIEnv.CallStaticObjectMethod(class_ref, id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
static void n_SetTerminal_Lcom_baidu_mapapi_search_core_RouteNode_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Core.RouteLine __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteLine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Search.Core.RouteNode p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (native_p0, JniHandleOwnership.DoNotTransfer); __this.Terminal = p0; }
static void n_SetLocation_Lcom_baidu_mapapi_model_LatLng_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Core.RouteNode __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (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); __this.Location = p0; }
static IntPtr n_GetLocation(IntPtr jnienv, IntPtr native__this) { global::Com.Baidu.Mapapi.Search.Core.RouteNode __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Location)); }