contentDeserializeAsync

fun contentDeserializeAsync(stream: <Error class: unknown class>, mimeType: String, type: <Error class: unknown class>, ioPriority: <Error class: unknown class>, cancellable: <Error class: unknown class>? = null, callback: <Error class: unknown class>?)

Read content from the given input stream and deserialize it, asynchronously.

The default I/O priority is %G_PRIORITY_DEFAULT (i.e. 0), and lower numbers indicate a higher priority.

Parameters

stream

a GInputStream to read the serialized content from

mimeType

the mime type to deserialize from

type

the GType to deserialize from

ioPriority

the I/O priority of the operation

cancellable

optional GCancellable object

callback

callback to call when the operation is done