Example #1
0
 public static global::Osmdroid.TileProvider.Modules.GEMFFileArchive GetGEMFFileArchive(global::Java.IO.File pFile)
 {
     if (id_getGEMFFileArchive_Ljava_io_File_ == IntPtr.Zero)
     {
         id_getGEMFFileArchive_Ljava_io_File_ = JNIEnv.GetStaticMethodID(class_ref, "getGEMFFileArchive", "(Ljava/io/File;)Lorg/osmdroid/tileprovider/modules/GEMFFileArchive;");
     }
     global::Osmdroid.TileProvider.Modules.GEMFFileArchive __ret = global::Java.Lang.Object.GetObject <global::Osmdroid.TileProvider.Modules.GEMFFileArchive> (JNIEnv.CallStaticObjectMethod(class_ref, id_getGEMFFileArchive_Ljava_io_File_, new JValue(pFile)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
Example #2
0
        static IntPtr n_GetInputStream_Lorg_osmdroid_tileprovider_tilesource_ITileSource_Lorg_osmdroid_tileprovider_MapTile_(IntPtr jnienv, IntPtr native__this, IntPtr native_pTileSource, IntPtr native_pTile)
        {
            global::Osmdroid.TileProvider.Modules.GEMFFileArchive __this      = global::Java.Lang.Object.GetObject <global::Osmdroid.TileProvider.Modules.GEMFFileArchive> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Osmdroid.TileProvider.TileSource.ITileSource  pTileSource = (global::Osmdroid.TileProvider.TileSource.ITileSource)global::Java.Lang.Object.GetObject <global::Osmdroid.TileProvider.TileSource.ITileSource> (native_pTileSource, JniHandleOwnership.DoNotTransfer);
            global::Osmdroid.TileProvider.MapTile pTile = global::Java.Lang.Object.GetObject <global::Osmdroid.TileProvider.MapTile> (native_pTile, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(__this.GetInputStream(pTileSource, pTile));

            return(__ret);
        }
Example #3
0
 static void n_Close(IntPtr jnienv, IntPtr native__this)
 {
     global::Osmdroid.TileProvider.Modules.GEMFFileArchive __this = global::Java.Lang.Object.GetObject <global::Osmdroid.TileProvider.Modules.GEMFFileArchive> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Close();
 }