diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-15 12:59:55 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-15 19:51:02 -0700 |
commit | 50092f916c339e4e2b3b133abd00560b8ace8283 (patch) | |
tree | 25ab52ec7c2726deaa6dc386e9df29ec960c2a19 /bluetooth-manager.h | |
parent | eee2eb78bd8c1f9d3daeef1ef496dbb6484b5124 (diff) |
binding: bluetooth: add support for avrcp metadata reporting
Add binding support for reporting avrcp metadata, and status events.
Bug-AGL: SPEC-596
Change-Id: I33a1045db5aa421a01e28c7bda254085b107e4f1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'bluetooth-manager.h')
-rw-r--r-- | bluetooth-manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bluetooth-manager.h b/bluetooth-manager.h index 896d213..4a86533 100644 --- a/bluetooth-manager.h +++ b/bluetooth-manager.h @@ -88,6 +88,7 @@ #define MAP_MSG_INTERFACE "org.bluez.obex.Message" #define MEDIA_PLAYER_INTERFACE "org.bluez.MediaPlayer" +#define MEDIA_PLAYER1_INTERFACE "org.bluez.MediaPlayer1" #define MEDIA_FOLDER_INTERFACE "org.bluez.MediaFolder" #define MEDIA_ITEM_INTERFACE "org.bluez.MediaItem" #define MEDIA_TRANSPORT_INTERFACE "org.bluez.MediaTransport" @@ -133,6 +134,11 @@ struct btd_device { gchar *path; gchar *bdaddr; gchar *name; + gchar *avrcp_title; + gchar *avrcp_artist; + gchar *avrcp_status; + guint32 avrcp_duration; + guint32 avrcp_position; gboolean paired; gboolean trusted; gboolean connected; |