![]() |
![]() |
![]() |
Tracker Indexer Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
Metadata Convenience Fallback FunctionsMetadata Convenience Fallback Functions — Helper functions to retrieve metadata or text for common files |
#include <libtracker-module/tracker-module-metadata-utils.h> TrackerModuleMetadata * tracker_module_metadata_utils_get_data (GFile *file); gchar * tracker_module_metadata_utils_get_text (GFile *file);
TrackerModuleMetadata * tracker_module_metadata_utils_get_data (GFile *file);
Returns a TrackerModuleMetadata filled in with all the metadata that could be extracted for the given file.
|
A GFile |
Returns : |
A newly created TrackerModuleMetadata, or NULL if the file is not found.
|
gchar * tracker_module_metadata_utils_get_text (GFile *file);
Gets the text from file
, if the file is considered as
containing plain text, it will be extracted, else this function
will resort to the installed text filters for the file MIME type.
|
A GFile |
Returns : |
A newly allocated string containing the file text, or NULL .
|