#pragma warning restore 0649 public void OnGetTransitRouteResult(global::Com.Baidu.Mapapi.Search.Route.TransitRouteResult p0) { var __h = OnGetTransitRouteResultHandler; if (__h != null) { __h(sender, new GetTransitRouteResultEventArgs(p0)); } }
public unsafe void OnGetTransitRouteResult(global::Com.Baidu.Mapapi.Search.Route.TransitRouteResult p0) { if (id_onGetTransitRouteResult_Lcom_baidu_mapapi_search_route_TransitRouteResult_ == IntPtr.Zero) { id_onGetTransitRouteResult_Lcom_baidu_mapapi_search_route_TransitRouteResult_ = JNIEnv.GetMethodID(class_ref, "onGetTransitRouteResult", "(Lcom/baidu/mapapi/search/route/TransitRouteResult;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_onGetTransitRouteResult_Lcom_baidu_mapapi_search_route_TransitRouteResult_, __args); }
public GetTransitRouteResultEventArgs(global::Com.Baidu.Mapapi.Search.Route.TransitRouteResult p0) { this.p0 = p0; }
static void n_OnGetTransitRouteResult_Lcom_baidu_mapapi_search_route_TransitRouteResult_(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.TransitRouteResult p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Route.TransitRouteResult> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnGetTransitRouteResult(p0); }