public unsafe void RemoveCompassListener(global::Com.Mapbox.Mapboxsdk.Location.ICompassListener p0) { if (id_removeCompassListener_Lcom_mapbox_mapboxsdk_location_CompassListener_ == IntPtr.Zero) { id_removeCompassListener_Lcom_mapbox_mapboxsdk_location_CompassListener_ = JNIEnv.GetMethodID(class_ref, "removeCompassListener", "(Lcom/mapbox/mapboxsdk/location/CompassListener;)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_removeCompassListener_Lcom_mapbox_mapboxsdk_location_CompassListener_, __args); }
static void n_RemoveCompassListener_Lcom_mapbox_mapboxsdk_location_CompassListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Mapbox.Mapboxsdk.Location.ICompassEngine __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.ICompassEngine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mapbox.Mapboxsdk.Location.ICompassListener p0 = (global::Com.Mapbox.Mapboxsdk.Location.ICompassListener)global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.ICompassListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.RemoveCompassListener(p0); }
static void n_OnCompassAccuracyChange_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Mapbox.Mapboxsdk.Location.ICompassListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Mapboxsdk.Location.ICompassListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnCompassAccuracyChange(p0); }