static void n_OnStatusUpdate_Ljava_lang_String_ILjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2) { global::Com.Tencent.Map.Geolocation.ITencentLocationListener __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Map.Geolocation.ITencentLocationListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); __this.OnStatusUpdate(p0, p1, p2); }
static void n_OnLocationChanged_Lcom_tencent_map_geolocation_TencentLocation_ILjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2) { global::Com.Tencent.Map.Geolocation.ITencentLocationListener __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Map.Geolocation.ITencentLocationListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Tencent.Map.Geolocation.ITencentLocation p0 = (global::Com.Tencent.Map.Geolocation.ITencentLocation)global::Java.Lang.Object.GetObject <global::Com.Tencent.Map.Geolocation.ITencentLocation> (native_p0, JniHandleOwnership.DoNotTransfer); string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer); __this.OnLocationChanged(p0, p1, p2); }
public unsafe void RemoveUpdates(global::Com.Tencent.Map.Geolocation.ITencentLocationListener p0) { const string __id = "removeUpdates.(Lcom/tencent/map/geolocation/TencentLocationListener;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args); } finally { } }
public unsafe int RequestSingleFreshLocation(global::Com.Tencent.Map.Geolocation.TencentLocationRequest p0, global::Com.Tencent.Map.Geolocation.ITencentLocationListener p1, global::Android.OS.Looper p2) { const string __id = "requestSingleFreshLocation.(Lcom/tencent/map/geolocation/TencentLocationRequest;Lcom/tencent/map/geolocation/TencentLocationListener;Landroid/os/Looper;)I"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); __args [2] = new JniArgumentValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle); var __rm = _members.InstanceMethods.InvokeNonvirtualInt32Method(__id, this, __args); return(__rm); } finally { } }