Rygel.SearchableContainer.simple_search – librygel-server – Vala Binding Reference

Rygel.SearchableContainer.simple_search – librygel-server Reference Manual

# simple_search

## Description:

public async MediaObjects? simple_search (SearchExpression? expression, uint offset, uint max_count, string sort_criteria, Cancellable? cancellable, out uint total_matches) throws Error

Utility method that retrieves all children and recursively searches for all media objects that satisfy the given search expression in this container.

## Parameters:

expression | the search expression or `null` for wildcard
offset | zero-based index of the first object to return
max_count | maximum number of objects to return
cancellable | optional cancellable for this operation
total_matches | sets it to the actual number of objects that satisfy the given search expression. If it is not possible to compute this value (in a timely mannger), it is set to '0'.

## Returns:

A list of media objects.