コード例 #1
0
        public virtual unsafe void Init(global::Com.Baidu.Mapapi.Cloud.ICloudListener p0)
        {
            if (id_init_Lcom_baidu_mapapi_cloud_CloudListener_ == IntPtr.Zero)
            {
                id_init_Lcom_baidu_mapapi_cloud_CloudListener_ = JNIEnv.GetMethodID(class_ref, "init", "(Lcom/baidu/mapapi/cloud/CloudListener;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_init_Lcom_baidu_mapapi_cloud_CloudListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "init", "(Lcom/baidu/mapapi/cloud/CloudListener;)V"), __args);
                }
            } finally {
            }
        }
コード例 #2
0
 static void n_OnGetDetailSearchResult_Lcom_baidu_mapapi_cloud_DetailSearchResult_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
 {
     global::Com.Baidu.Mapapi.Cloud.ICloudListener     __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.ICloudListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Baidu.Mapapi.Cloud.DetailSearchResult p0     = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.DetailSearchResult> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnGetDetailSearchResult(p0, p1);
 }
コード例 #3
0
 static void n_Init_Lcom_baidu_mapapi_cloud_CloudListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Baidu.Mapapi.Cloud.CloudManager   __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.CloudManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Baidu.Mapapi.Cloud.ICloudListener p0     = (global::Com.Baidu.Mapapi.Cloud.ICloudListener)global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Cloud.ICloudListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Init(p0);
 }