Shumate.DataSourceRequest.emit_data

### Method

# Shumate DataSourceRequestemit_data

#### Declaration [src]

    void
    shumate_data_source_request_emit_data (
      ShumateDataSourceRequest* self,
      GBytes* data,
      gboolean complete
    )

#### Description [src]

Emits tile data as a response to the request. This sets the `ShumateDataSourceRequest:data` property.

If `complete` is `TRUE`, then `ShumateDataSourceRequest:completed` is set to `TRUE` as well.

Available since: | 1.1

#### Parameters

`data` | `GBytes`
| The data to emit.
| The data is owned by the caller of the function.
`complete` | `gboolean`
| `TRUE` to also complete the request, `FALSE` otherwise.