public unsafe void SetOnGetRoutePlanResultListener(global::Com.Baidu.Mapapi.Search.Route.IOnGetRoutePlanResultListener p0) { if (id_setOnGetRoutePlanResultListener_Lcom_baidu_mapapi_search_route_OnGetRoutePlanResultListener_ == IntPtr.Zero) { id_setOnGetRoutePlanResultListener_Lcom_baidu_mapapi_search_route_OnGetRoutePlanResultListener_ = JNIEnv.GetMethodID(class_ref, "setOnGetRoutePlanResultListener", "(Lcom/baidu/mapapi/search/route/OnGetRoutePlanResultListener;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_setOnGetRoutePlanResultListener_Lcom_baidu_mapapi_search_route_OnGetRoutePlanResultListener_, __args); } finally { } }
static void n_OnGetDrivingRouteResult_Lcom_baidu_mapapi_search_route_DrivingRouteResult_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Route.IOnGetRoutePlanResultListener __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Route.IOnGetRoutePlanResultListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Search.Route.DrivingRouteResult p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Route.DrivingRouteResult> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnGetDrivingRouteResult(p0); }