static bool n_Init_Lcom_baidu_mapapi_map_offline_MKOfflineMapListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Baidu.Mapapi.Map.Offline.MKOfflineMap          __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.Offline.MKOfflineMap> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener p0     = (global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener)global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.Init(p0);

            return(__ret);
        }
        public virtual unsafe bool Init(global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener p0)
        {
            const string __id = "init.(Lcom/baidu/mapapi/map/offline/MKOfflineMapListener;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args);
                return(__rm);
            } finally {
            }
        }
예제 #3
0
        public virtual unsafe bool Init(global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener p0)
        {
            if (id_init_Lcom_baidu_mapapi_map_offline_MKOfflineMapListener_ == IntPtr.Zero)
            {
                id_init_Lcom_baidu_mapapi_map_offline_MKOfflineMapListener_ = JNIEnv.GetMethodID(class_ref, "init", "(Lcom/baidu/mapapi/map/offline/MKOfflineMapListener;)Z");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(Handle, id_init_Lcom_baidu_mapapi_map_offline_MKOfflineMapListener_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "init", "(Lcom/baidu/mapapi/map/offline/MKOfflineMapListener;)Z"), __args);
                }
                return(__ret);
            } finally {
            }
        }
 static void n_OnGetOfflineMapState_II(IntPtr jnienv, IntPtr native__this, int p0, int p1)
 {
     global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.Offline.IMKOfflineMapListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.OnGetOfflineMapState(p0, p1);
 }