예제 #1
0
        static void n_OnProviderEnabled_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_arg0)
        {
            global::Osmdroid.LocationListenerProxy __this = global::Java.Lang.Object.GetObject <global::Osmdroid.LocationListenerProxy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string arg0 = JNIEnv.GetString(native_arg0, JniHandleOwnership.DoNotTransfer);

            __this.OnProviderEnabled(arg0);
        }
예제 #2
0
        static bool n_StartListening_Landroid_location_LocationListener_JF(IntPtr jnienv, IntPtr native__this, IntPtr native_pListener, long pUpdateTime, float pUpdateDistance)
        {
            global::Osmdroid.LocationListenerProxy      __this    = global::Java.Lang.Object.GetObject <global::Osmdroid.LocationListenerProxy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Locations.ILocationListener pListener = (global::Android.Locations.ILocationListener)global::Java.Lang.Object.GetObject <global::Android.Locations.ILocationListener> (native_pListener, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.StartListening(pListener, pUpdateTime, pUpdateDistance);

            return(__ret);
        }
예제 #3
0
        static void n_OnStatusChanged_Ljava_lang_String_ILandroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_arg0, int native_arg1, IntPtr native_arg2)
        {
            global::Osmdroid.LocationListenerProxy __this = global::Java.Lang.Object.GetObject <global::Osmdroid.LocationListenerProxy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string arg0 = JNIEnv.GetString(native_arg0, JniHandleOwnership.DoNotTransfer);

            global::Android.Locations.Availability arg1 = (global::Android.Locations.Availability)native_arg1;
            global::Android.OS.Bundle arg2 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_arg2, JniHandleOwnership.DoNotTransfer);
            __this.OnStatusChanged(arg0, arg1, arg2);
        }
예제 #4
0
 static void n_OnLocationChanged_Landroid_location_Location_(IntPtr jnienv, IntPtr native__this, IntPtr native_arg0)
 {
     global::Osmdroid.LocationListenerProxy __this = global::Java.Lang.Object.GetObject <global::Osmdroid.LocationListenerProxy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Locations.Location     arg0   = global::Java.Lang.Object.GetObject <global::Android.Locations.Location> (native_arg0, JniHandleOwnership.DoNotTransfer);
     __this.OnLocationChanged(arg0);
 }
예제 #5
0
 static void n_StopListening(IntPtr jnienv, IntPtr native__this)
 {
     global::Osmdroid.LocationListenerProxy __this = global::Java.Lang.Object.GetObject <global::Osmdroid.LocationListenerProxy> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.StopListening();
 }