static void n_OnProviderEnabled_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_provider) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string provider = JNIEnv.GetString(native_provider, JniHandleOwnership.DoNotTransfer); __this.OnProviderEnabled(provider); }
static bool n_StartLocationProvider_Lorg_osmdroid_views_overlay_mylocation_IMyLocationConsumer_(IntPtr jnienv, IntPtr native__this, IntPtr native_myLocationConsumer) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Views.Overlay.MyLocation.IMyLocationConsumer myLocationConsumer = (global::Osmdroid.Views.Overlay.MyLocation.IMyLocationConsumer)global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.IMyLocationConsumer> (native_myLocationConsumer, JniHandleOwnership.DoNotTransfer); bool __ret = __this.StartLocationProvider(myLocationConsumer); return(__ret); }
static void n_OnStatusChanged_Ljava_lang_String_ILandroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_provider, int native_status, IntPtr native_extras) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string provider = JNIEnv.GetString(native_provider, JniHandleOwnership.DoNotTransfer); global::Android.Locations.Availability status = (global::Android.Locations.Availability)native_status; global::Android.OS.Bundle extras = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_extras, JniHandleOwnership.DoNotTransfer); __this.OnStatusChanged(provider, status, extras); }
static IntPtr n_GetLastKnownLocation(IntPtr jnienv, IntPtr native__this) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.LastKnownLocation)); }
static void n_StopLocationProvider(IntPtr jnienv, IntPtr native__this) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.StopLocationProvider(); }
static void n_OnLocationChanged_Landroid_location_Location_(IntPtr jnienv, IntPtr native__this, IntPtr native_location) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Locations.Location location = global::Java.Lang.Object.GetObject <global::Android.Locations.Location> (native_location, JniHandleOwnership.DoNotTransfer); __this.OnLocationChanged(location); }
static void n_SetLocationUpdateMinTime_J(IntPtr jnienv, IntPtr native__this, long milliSeconds) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.LocationUpdateMinTime = milliSeconds; }
static long n_GetLocationUpdateMinTime(IntPtr jnienv, IntPtr native__this) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.LocationUpdateMinTime); }
static void n_SetLocationUpdateMinDistance_F(IntPtr jnienv, IntPtr native__this, float meters) { global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.MyLocation.GpsMyLocationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.LocationUpdateMinDistance = meters; }