Shumate.FileCache.store_tile_async

### Method

# Shumate FileCachestore_tile_async

#### Declaration [src]

    void
    shumate_file_cache_store_tile_async (
      ShumateFileCache* self,
      int x,
      int y,
      int zoom_level,
      GBytes* bytes,
      const char* etag,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Stores a tile in the cache.

#### Parameters

`x`

  Type: `int`

  The X coordinate of the tile.

`y`

  Type: `int`

  The Y coordinate of the tile.

`zoom_level`

  Type: `int`

  The zoom level of the tile.

`bytes`

  Type: `GBytes`

  A `GBytes`.

  The data is owned by the caller of the function.

`etag`

  Type: `const char*`

  An ETag string, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`cancellable`

  Type: `GCancellable`

  A `GCancellable`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to execute upon completion.

  The argument can be `NULL`.

`user_data`

  Type: `gpointer`

  Closure data for `callback`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.