Example #1
0
        public unsafe void OnLocationReceived(global::Net.Crowdconnected.Androidcolocator.Connector.LocationResponse p0)
        {
            if (id_onLocationReceived_Lnet_crowdconnected_androidcolocator_connector_LocationResponse_ == IntPtr.Zero)
            {
                id_onLocationReceived_Lnet_crowdconnected_androidcolocator_connector_LocationResponse_ = JNIEnv.GetMethodID(class_ref, "onLocationReceived", "(Lnet/crowdconnected/androidcolocator/connector/LocationResponse;)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_onLocationReceived_Lnet_crowdconnected_androidcolocator_connector_LocationResponse_, __args);
        }
Example #2
0
 static void n_OnLocationReceived_Lnet_crowdconnected_androidcolocator_connector_LocationResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Net.Crowdconnected.Androidcolocator.ILocationCallback          __this = global::Java.Lang.Object.GetObject <global::Net.Crowdconnected.Androidcolocator.ILocationCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Net.Crowdconnected.Androidcolocator.Connector.LocationResponse p0     = global::Java.Lang.Object.GetObject <global::Net.Crowdconnected.Androidcolocator.Connector.LocationResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnLocationReceived(p0);
 }