search_sync


Description:

[ Version ( since = "0.2.0" ) ]
public List<Media> search_sync (string text, List<KeyID> keys, OperationOptions options) throws Error

Search for the text string in a source for data identified with that string.

If text is NULL then no text filter will be applied, and thus, no media items from this will be filtered. If this does not support NULL-text search operations it should notiy the client by setting GRL_CORE_ERROR_SEARCH_NULL_UNSUPPORTED in the error parameter.

This method is synchronous.

Parameters:

this

a source

text

the text to search

keys

the List of KeyID<!-- -->s to request

options

options wanted for that operation

Returns:

a List with Media elements. After use unref every element and g_list_free the list.




2022 vala-language.org