to_variant


Description:

[ Version ( since = "1.6" ) ]
public Variant to_variant (DiscovererSerializeFlags flags)

Serializes this to a Variant that can be parsed again through from_variant.

Note that any Toc (s) that might have been discovered will not be serialized for now.

Parameters:

this

A DiscovererInfo

flags

A combination of DiscovererSerializeFlags to specify what needs to be serialized.

Returns:

A newly-allocated Variant representing this.




2022 vala-language.org