### Class

# Gdk ContentDeserializer

#### Description [src]

    final class Gdk.ContentDeserializer : GObject.Object {
      /* No available fields */
    }

A `GdkContentDeserializer` is used to deserialize content received via inter-application data transfers.

The `GdkContentDeserializer` transforms serialized content that is identified by a mime type into an object identified by a GType.

GTK provides serializers and deserializers for common data types such as text, colors, images or file lists. To register your own deserialization functions, use gdk_content_register_deserializer().

Also see `GdkContentSerializer`.

#### Hierarchy

#### Ancestors

- GObject

#### Implements

- GAsyncResult

#### Instance methods

###### gdk_content_deserializer_get_cancellable

Gets the cancellable for the current operation.

###### gdk_content_deserializer_get_gtype

Gets the `GType` to create an instance of.

###### gdk_content_deserializer_get_input_stream

Gets the input stream for the current operation.

###### gdk_content_deserializer_get_mime_type

Gets the mime type to deserialize from.

###### gdk_content_deserializer_get_priority

Gets the I/O priority for the current operation.

###### gdk_content_deserializer_get_task_data

Gets the data that was associated with the current operation.

###### gdk_content_deserializer_get_user_data

Gets the user data that was passed when the deserializer was registered.

###### gdk_content_deserializer_get_value

Gets the `GValue` to store the deserialized object in.

###### gdk_content_deserializer_return_error

Indicate that the deserialization has ended with an error.

###### gdk_content_deserializer_return_success

Indicate that the deserialization has been successfully completed.

###### gdk_content_deserializer_set_task_data

Associate data with the current deserialization operation.