public unsafe void UnRegisterLocationListener(global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener p0)
        {
            if (id_unRegisterLocationListener_Lcom_autonavi_amap_mapcore2d_Inner_3dMap_locationListener_ == IntPtr.Zero)
            {
                id_unRegisterLocationListener_Lcom_autonavi_amap_mapcore2d_Inner_3dMap_locationListener_ = JNIEnv.GetMethodID(class_ref, "unRegisterLocationListener", "(Lcom/autonavi/amap/mapcore2d/Inner_3dMap_locationListener;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_unRegisterLocationListener_Lcom_autonavi_amap_mapcore2d_Inner_3dMap_locationListener_, __args);
        }
示例#2
0
 static void n_OnLocationChanged_Lcom_autonavi_amap_mapcore2d_Inner_3dMap_location_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener __this = global::Java.Lang.Object.GetObject <global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Autonavi.Amap.Mapcore2d.Inner_3dMap_location          p0     = global::Java.Lang.Object.GetObject <global::Com.Autonavi.Amap.Mapcore2d.Inner_3dMap_location> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnLocationChanged(p0);
 }
 static void n_UnRegisterLocationListener_Lcom_autonavi_amap_mapcore2d_Inner_3dMap_locationListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationManagerBase __this = global::Java.Lang.Object.GetObject <global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationManagerBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener    p0     = (global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener)global::Java.Lang.Object.GetObject <global::Com.Autonavi.Amap.Mapcore2d.IInner_3dMap_locationListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.UnRegisterLocationListener(p0);
 }