Tizen Native API
4.0
|
The Media Controller API provides functions for communication between the media controller server and the media controller client.
Required Header
#include <media_controller_server.h> #include <media_controller_client.h>
Overview
The Media Controller API provides a set of functions to an effective communication between the server and the client for delivering the latest server information. It helps to transfer the information like playback info, shuffle mode, or the metadata of the latest server.
To programming the interface, first, create a handler via mc_client_create() or mc_server_create(). And then, the client request the necessary information to the server by using mc_client_set_server_updated_cb(), or mc_client_set_playback_updated_cb(). The server provides the requested information to the client by the callback.
Typedefs | |
typedef void * | mc_server_h |
The structure type for the media server handle. | |
typedef void * | mc_client_h |
The structure type for the media client handle. | |
typedef void * | mc_playback_h |
The structure type for the media controller playback handle. | |
typedef void * | mc_metadata_h |
The structure type for the media controller metadata handle. | |
typedef void * | mc_playlist_h |
The structure type for the media controller playlist handle. |
Typedef Documentation
typedef void* mc_client_h |
The structure type for the media client handle.
- Since :
- 2.4
typedef void* mc_metadata_h |
The structure type for the media controller metadata handle.
- Since :
- 2.4
typedef void* mc_playback_h |
The structure type for the media controller playback handle.
- Since :
- 2.4
typedef void* mc_playlist_h |
The structure type for the media controller playlist handle.
- Since :
- 4.0
typedef void* mc_server_h |
The structure type for the media server handle.
- Since :
- 2.4
Enumeration Type Documentation
enum mc_error_e |
Enumeration for the media controller error.
- Since :
- 2.4
- Enumerator:
enum mc_meta_e |
Enumeration for the media meta info.
- Since :
- 2.4
- Enumerator:
enum mc_playback_action_e |
Enumeration for the media playback action.
- Since :
- 4.0
- Enumerator:
enum mc_playback_states_e |
Enumeration for the media playback state.
- Since :
- 2.4
- Enumerator:
enum mc_repeat_mode_e |
enum mc_server_state_e |
enum mc_shuffle_mode_e |
Enumeration for the subscription type.
- Since :
- 2.4