get_sort_score


Description:

[ Version ( since = "0.12.11" ) ]
public uint get_sort_score ()

Returns the sorting priority of this component.

This will only return a valid value if this component was the result of or involved in a search operation which returned sorted results. In most cases you will not need to access this value explicitly, as all results of search operations in AppStream are already sorted from best match to worst.

The returned value is an arbitrary integer value, valid only for the search terms involved in the search operation that yielded this component as a result.

Parameters:

this

a Component instance.