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