serialize


Description:

public unowned Variant? serialize ()

Serializes a `TrackerResource` to a [type@GLib.

Variant] in a lossless way. All child resources are subsequently serialized. It is implied that both ends use a common [ class@NamespaceManager].

Parameters:

this

A `TrackerResource`

Returns:

A variant describing the resource, the reference is floating.