![]() |
![]() |
![]() |
librygel-server Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void rygel_searchable_container_search (RygelSearchableContainer *self
,RygelSearchExpression *expression
,guint offset
,guint max_count
,const gchar *sort_criteria
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); RygelMediaObjects * rygel_searchable_container_search_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,guint *total_matches
,GError **error
); void rygel_searchable_container_simple_search (RygelSearchableContainer *self
,RygelSearchExpression *expression
,guint offset
,guint max_count
,const gchar *sort_criteria
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); RygelMediaObjects * rygel_searchable_container_simple_search_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,guint *total_matches
,GError **error
); void rygel_searchable_container_find_object (RygelSearchableContainer *self
,const gchar *id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); RygelMediaObject * rygel_searchable_container_find_object_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,GError **error
); GeeArrayList * rygel_searchable_container_get_search_classes (RygelSearchableContainer *self
); void rygel_searchable_container_set_search_classes (RygelSearchableContainer *self
,GeeArrayList *value
); RygelSearchableContainer;
void rygel_searchable_container_search (RygelSearchableContainer *self
,RygelSearchExpression *expression
,guint offset
,guint max_count
,const gchar *sort_criteria
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Recursively searches for all media objects that satisfy the given search expression in this container.
See also: rygel_searchable_container_search_finish()
|
the RygelSearchableContainer instance |
|
the search expression or null for wildcard. [in][allow-none] |
|
zero-based index of the first object to return. [in] |
|
maximum number of objects to return. [in] |
|
sets it to the actual number of objects that satisfy. [out] |
|
optional cancellable for this operation. [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
RygelMediaObjects * rygel_searchable_container_search_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,guint *total_matches
,GError **error
);
Recursively searches for all media objects that satisfy the given search expression in this container.
See also: rygel_searchable_container_search()
|
the RygelSearchableContainer instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
Returns : |
A list of matching media objects or null if no object matched. |
void rygel_searchable_container_simple_search (RygelSearchableContainer *self
,RygelSearchExpression *expression
,guint offset
,guint max_count
,const gchar *sort_criteria
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Utility method that retrieves all children and recursively searches for all media objects that satisfy the given search expression in this container.
See also: rygel_searchable_container_simple_search_finish()
|
the RygelSearchableContainer instance |
|
the search expression or `null` for wildcard. [in][allow-none] |
|
zero-based index of the first object to return. [in] |
|
maximum number of objects to return. [in] |
|
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'. [out] |
|
optional cancellable for this operation. [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
RygelMediaObjects * rygel_searchable_container_simple_search_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,guint *total_matches
,GError **error
);
Utility method that retrieves all children and recursively searches for all media objects that satisfy the given search expression in this container.
See also: rygel_searchable_container_simple_search()
|
the RygelSearchableContainer instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
Returns : |
A list of media objects. |
void rygel_searchable_container_find_object (RygelSearchableContainer *self
,const gchar *id
,GCancellable *cancellable
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Recursively searches for media object with the given id in this container.
See also: rygel_searchable_container_find_object_finish()
|
function to call when result is ready |
|
the RygelSearchableContainer instance |
|
ID of the media object to search for. [in] |
|
optional cancellable for this operation. [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
RygelMediaObject * rygel_searchable_container_find_object_finish (RygelSearchableContainer *self
,GAsyncResult *_res_
,GError **error
);
Recursively searches for media object with the given id in this container.
See also: rygel_searchable_container_find_object()
|
the RygelSearchableContainer instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore |
Returns : |
the found media object. |
GeeArrayList * rygel_searchable_container_get_search_classes
(RygelSearchableContainer *self
);
|
the RygelSearchableContainer instance to query |
Returns : |
the value of the "search-classes" property |
void rygel_searchable_container_set_search_classes (RygelSearchableContainer *self
,GeeArrayList *value
);
|
the RygelSearchableContainer instance to modify |
|
the new value of the "search-classes" property |