SearchableContainer
Object Hierarchy:
Description:
public interface SearchableContainer :
MediaContainer
The base class for searchable containers.
Classes that implement this interface can, for instance:
- Allow backends to implement a UPnP Search call using native searching (such as SQL or SPARQL queries).
- Implement searching via the naïve default implementation provided by rygel_searchable_container_simple_search(), which does a
recursive tree walk.
The search_classes property lists what information this container may be searched for. It is mapped to upnp:searchClass (with
includeDerived assumed to be false),
All known implementing classes:
Content:
Properties:
Methods:
- public abstract async MediaObjects? search (SearchExpression? expression, uint offset, uint max_count, out uint total_matches, string sort_criteria, Cancellable? cancellable) throws Error
Recursively searches for all media objects that satisfy the given
search expression in this container.
- public async MediaObjects? simple_search (SearchExpression? expression, uint offset, uint max_count, out uint total_matches, string sort_criteria, Cancellable? cancellable) throws Error
Utility method that retrieves all children and recursively searches
for all media objects that satisfy the given search expression in this container.
- public async MediaObject? find_object (string id, Cancellable? cancellable) throws Error
Recursively searches for media object with the given id in this
container.
Inherited Members:
All known members inherited from class Rygel.MediaContainer
All known members inherited from class Rygel.MediaObject
All known members inherited from class GLib.Object
- @new
- new_valist
- newv
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- steal_data
- steal_qdata
- thaw_notify
- unref
- weak_ref
- weak_unref
- notify
- ref_count