content_deserialize_async


Description:


public async bool content_deserialize_async (InputStream stream, string mime_type, Type type, int io_priority, Cancellable? cancellable) throws Error

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

When the operation is finished, callback will be called. You can then call content_deserialize_async.end to get the result of the operation.

Parameters:

stream

a InputStream to read the serialized content from

mime_type

the mime type to deserialize from

type

the GType to deserialize from

io_priority

the io priority of the operation

cancellable

optional Cancellable object

callback

callback to call when the operation is done

user_data

data to pass to the callback function


Namespace: Gdk
Package: gtk4