readAsync

open fun readAsync(mimeTypes: List<String>, ioPriority: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Asynchronously requests an input stream to read the @clipboard's contents from.

The clipboard will choose the most suitable mime type from the given list to fulfill the request, preferring the ones listed first.

Parameters

mimeTypes

a null-terminated array of mime types to choose from

ioPriority

the I/O priority of the request

cancellable

optional GCancellable object

callback

callback to call when the request is satisfied