![]() |
![]() |
![]() |
![]() |
Get metadata for a specified file, based on the file ID
#include <mme/mme.h> int mme_metadata_getinfo_library( mme_metadata_session_t *session, uint64_t fid, const char *metadata_groups, uint64_t *mdinfo_rid, mme_metadata_info_t **metadata );
mme
The function mme_metadata_getinfo_library() retrieves metadata for the file identified by the its file ID, and places this metadata at the location specified by metadata. You must call mme_metadata_create_session() to create a metadata session before using mme_metadata_getinfo_library().
![]() |
|
The metadata argument points to a pointer to a mme_metadata_info_t metadata structure with the retrieved metadata. Depending on the value of metadata, mme_metadata_getinfo_*() operates either synchonously or asynchronously.
If metadata is NULL, mme_metadata_getinfo_*() operates asynchronously, and the mme_metadata_info_t structure is delivered with the MME_EVENT_METADATA_INFO event.
If metadata is non-NULL function mme_metadata_getinfo_*() operates synchronously and the following applies:
For an example of the XML delivered in the mme_metadata_info_t structure, see “XML content” with the description of the structure.
MME_EVENT_METADATA_INFO.
See “metadata pointer” above.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_metadata_create_session(), mme_metadata_free_session(), mme_metadata_getinfo_current(), mme_metadata_getinfo_file(), mme_metadata_image_cache_clear(), mme_metadata_image_load(), mme_metadata_image_unload(), mme_metadata_image_url_t, mme_metadata_info_t, mme_metadata_session_t
![]() |
![]() |
![]() |
![]() |