The Media Controller Metadata API provides functions for media metadata.
Required Header
#include <media_controller_metadata.h>
Overview
The Media Controller Metadata API allows you to get metadata (mc_metadata_get()).
You can copy the metadata by using mc_metadata_clone(). And if you don't use handle anymore, you have to destroy it(mc_metadata_destroy()).
Function Documentation
Clones a media controller metadata handle.
This function copies the media controller metadata handle from a source to destination. The mc_metadata_h is created internally and available through media controller metadata functions.
- Since :
- 4.0
- Parameters:
-
[in] | src | The source handle to the media controller metadata |
[out] | dst | The destination handle to the media controller metadata |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- mc_metadata_destroy()
Destroys a media controller metadata handle.
This function frees all resources related to the media controller metadata handle. This handle no longer can be used to perform any operations. A new handle has to be created before next usage.
- Since :
- 4.0
- Parameters:
-
[in] | metadata | The handle to the media controller metadata |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- mc_metadata_clone()