read_async


Description:

public async InputStream? read_async (string[] mime_types, int io_priority, Cancellable? cancellable, out unowned string out_mime_type) throws Error

Asynchronously read the dropped data from a `GdkDrop` in a format that complies with one of the mime types.

Parameters:

this

a `GdkDrop`

mime_types

pointer to an array of mime types

io_priority

the I/O priority for the read operation

cancellable

optional `GCancellable` object

callback

a `GAsyncReadyCallback` to call when the request is satisfied

user_data

the data to pass to callback