Drop.readFinish

gio.input_stream.InputStream readFinish(gio.async_result.AsyncResult result, out string outMimeType)

Finishes an async drop read operation.

Note that you must not use blocking read calls on the returned stream in the GTK thread, since some platforms might require communication with GTK to complete the data transfer. You can use async APIs such as [gio.input_stream.InputStream.readBytesAsync].

See [gdk.drop.Drop.readAsync].

Parameters

resulta [gio.async_result.AsyncResult]
outMimeTypereturn location for the used mime type

Returns

the [gio.input_stream.InputStream]

Throws

[ErrorWrap]