contentDeserializeAsync

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.

When the operation is finished, callback will be called. You must then call funcGdk.content_deserialize_finish to get the result of the operation.

Parameters

stream gio.input_stream.InputStream

a gio.input_stream.InputStream to read the serialized content from

mimeType string

the mime type to deserialize from

type gobject.types.GType

the GType to deserialize from

ioPriority int

the I/O priority of the operation

cancellable gio.cancellable.Cancellable
callback gio.types.AsyncReadyCallback

callback to call when the operation is done