Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Go to the source code of this file.
Data Structures | |
struct | mpl_cmd |
Media player command. More... | |
struct | mpl_cmd_ntf |
Media command notification. More... | |
struct | mpl_sci |
Search control item. More... | |
struct | mpl_search |
Search. More... | |
struct | media_proxy_ctrl_cbs |
Callbacks to a controller, from the media proxy. More... | |
struct | media_proxy_pl_calls |
Available calls in a player, that the media proxy can call. More... | |
Functions | |
int | media_proxy_ctrl_register (struct media_proxy_ctrl_cbs *ctrl_cbs) |
Register a controller with the media_proxy. | |
int | media_proxy_ctrl_discover_player (struct bt_conn *conn) |
Discover a remote media player. | |
int | media_proxy_ctrl_get_player_name (struct media_player *player) |
Read Media Player Name. | |
int | media_proxy_ctrl_get_icon_id (struct media_player *player) |
Read Icon Object ID. | |
int | media_proxy_ctrl_get_icon_url (struct media_player *player) |
Read Icon URL. | |
int | media_proxy_ctrl_get_track_title (struct media_player *player) |
Read Track Title. | |
int | media_proxy_ctrl_get_track_duration (struct media_player *player) |
Read Track Duration. | |
int | media_proxy_ctrl_get_track_position (struct media_player *player) |
Read Track Position. | |
int | media_proxy_ctrl_set_track_position (struct media_player *player, int32_t position) |
Set Track Position. | |
int | media_proxy_ctrl_get_playback_speed (struct media_player *player) |
Get Playback Speed. | |
int | media_proxy_ctrl_set_playback_speed (struct media_player *player, int8_t speed) |
Set Playback Speed. | |
int | media_proxy_ctrl_get_seeking_speed (struct media_player *player) |
Get Seeking Speed. | |
int | media_proxy_ctrl_get_track_segments_id (struct media_player *player) |
Read Current Track Segments Object ID. | |
int | media_proxy_ctrl_get_current_track_id (struct media_player *player) |
Read Current Track Object ID. | |
int | media_proxy_ctrl_set_current_track_id (struct media_player *player, uint64_t id) |
Set Current Track Object ID. | |
int | media_proxy_ctrl_get_next_track_id (struct media_player *player) |
Read Next Track Object ID. | |
int | media_proxy_ctrl_set_next_track_id (struct media_player *player, uint64_t id) |
Set Next Track Object ID. | |
int | media_proxy_ctrl_get_parent_group_id (struct media_player *player) |
Read Parent Group Object ID. | |
int | media_proxy_ctrl_get_current_group_id (struct media_player *player) |
Read Current Group Object ID. | |
int | media_proxy_ctrl_set_current_group_id (struct media_player *player, uint64_t id) |
Set Current Group Object ID. | |
int | media_proxy_ctrl_get_playing_order (struct media_player *player) |
Read Playing Order. | |
int | media_proxy_ctrl_set_playing_order (struct media_player *player, uint8_t order) |
Set Playing Order. | |
int | media_proxy_ctrl_get_playing_orders_supported (struct media_player *player) |
Read Playing Orders Supported. | |
int | media_proxy_ctrl_get_media_state (struct media_player *player) |
Read Media State. | |
int | media_proxy_ctrl_send_command (struct media_player *player, const struct mpl_cmd *command) |
Send Command. | |
int | media_proxy_ctrl_get_commands_supported (struct media_player *player) |
Read Commands Supported. | |
int | media_proxy_ctrl_send_search (struct media_player *player, const struct mpl_search *search) |
Set Search. | |
int | media_proxy_ctrl_get_search_results_id (struct media_player *player) |
Read Search Results Object ID. | |
uint8_t | media_proxy_ctrl_get_content_ctrl_id (struct media_player *player) |
Read Content Control ID. | |
int | media_proxy_pl_register (struct media_proxy_pl_calls *pl_calls) |
Register a player with the media proxy. | |
int | media_proxy_pl_init (void) |
struct bt_ots * | bt_mcs_get_ots (void) |
void | media_proxy_pl_name_cb (const char *name) |
Player name changed callback. | |
void | media_proxy_pl_icon_url_cb (const char *url) |
Player icon URL changed callback. | |
void | media_proxy_pl_track_changed_cb (void) |
Track changed callback. | |
void | media_proxy_pl_track_title_cb (char *title) |
Track title callback. | |
void | media_proxy_pl_track_duration_cb (int32_t duration) |
Track duration callback. | |
void | media_proxy_pl_track_position_cb (int32_t position) |
Track position callback. | |
void | media_proxy_pl_playback_speed_cb (int8_t speed) |
Playback speed callback. | |
void | media_proxy_pl_seeking_speed_cb (int8_t speed) |
Seeking speed callback. | |
void | media_proxy_pl_current_track_id_cb (uint64_t id) |
Current track object ID callback. | |
void | media_proxy_pl_next_track_id_cb (uint64_t id) |
Next track object ID callback. | |
void | media_proxy_pl_parent_group_id_cb (uint64_t id) |
Parent group object ID callback. | |
void | media_proxy_pl_current_group_id_cb (uint64_t id) |
Current group object ID callback. | |
void | media_proxy_pl_playing_order_cb (uint8_t order) |
Playing order callback. | |
void | media_proxy_pl_media_state_cb (uint8_t state) |
Media state callback. | |
void | media_proxy_pl_command_cb (const struct mpl_cmd_ntf *cmd_ntf) |
Command callback. | |
void | media_proxy_pl_commands_supported_cb (uint32_t opcodes) |
Commands supported callback. | |
void | media_proxy_pl_search_cb (uint8_t result_code) |
Search callback. | |
void | media_proxy_pl_search_results_id_cb (uint64_t id) |
Search Results object ID callback. | |