summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth/bluetooth-manager.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-05-15 12:59:55 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-05-15 19:51:02 -0700
commite8dd76c1c44567b917a7ff081d6ed80b8ef9f722 (patch)
tree9c5c4dba53f4943c7fb9c0686dc51d9fdd6476c4 /binding-bluetooth/bluetooth-manager.h
parent062bc304e68f54ed13d44c39ec055e08cfd4e883 (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 'binding-bluetooth/bluetooth-manager.h')
-rw-r--r--binding-bluetooth/bluetooth-manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h
index 896d213..4a86533 100644
--- a/binding-bluetooth/bluetooth-manager.h
+++ b/binding-bluetooth/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;