Interface TileCallback


public interface TileCallback
Asynchronous result callback for TileSource.fetchTile(int, int, int, TileCallback). Implementations are invoked on the Codename One event dispatch thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    tileFailed(int z, int x, int y)
    Reports that the tile could not be retrieved.
    void
    tileLoaded(int z, int x, int y, byte[] data)
    Delivers the decompressed tile payload (MVT protobuf or encoded image bytes depending on the source).
  • Method Details

    • tileLoaded

      void tileLoaded(int z, int x, int y, byte[] data)
      Delivers the decompressed tile payload (MVT protobuf or encoded image bytes depending on the source).
    • tileFailed

      void tileFailed(int z, int x, int y)
      Reports that the tile could not be retrieved.