Method
ShumateFileCacheget_tile_async
Declaration [src]
void
shumate_file_cache_get_tile_async (
ShumateFileCache* self,
int x,
int y,
int zoom_level,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Gets tile data from the cache, if it is available.
This method completes asynchronously. Use shumate_file_cache_get_tile_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
x-
Type:
intThe X coordinate of the tile.
y-
Type:
intThe Y coordinate of the tile.
zoom_level-
Type:
intThe zoom level of the tile.
cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto execute upon completion.The argument can be NULL. user_data-
Type:
gpointerClosure data for
callback.The argument can be NULL.The data is owned by the caller of the method.