org.osmdroid.tileprovider.IMapTileProviderCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
package org.osmdroid.tileprovider;
import android.graphics.drawable.Drawable;
public interface IMapTileProviderCallback {
/**
* The map tile request has completed.
*
* @param aState
* a state object
* @param aDrawable
* a drawable
*/
void mapTileRequestCompleted(MapTileRequestState aState, final Drawable aDrawable);
/**
* The map tile request has failed.
*
* @param aState
* a state object
*/
void mapTileRequestFailed(MapTileRequestState aState);
/**
* Returns true if the network connection should be used, false if not.
*
* @return true if data connection should be used, false otherwise
*/
public boolean useDataConnection();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy