get_component


Description:

public unowned Component? get_component ()

Gets the Component which has been parsed from the XML.

If the AppStream XML contained multiple components, return the first component that has been parsed.

Parameters:

this

a Metadata instance.

Returns:

An Component or null