diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-31 02:44:02 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-05-31 10:11:41 -0700 |
commit | 37aacabc67fc2d3b759cdc85eb46705f729f8682 (patch) | |
tree | a5b47bb1156ad77417900a94ddcf2084a1eb68f7 /binding-bluetooth/bluetooth-manager.h | |
parent | caea8eb4305404f0a03e089e7e625833ef66d95f (diff) |
binding: bluetooth: provide org.bluez.MediaTransport1 access
Allow binding to report transport state and volume levels
Bug-AGL: SPEC-642
Change-Id: I5daad68a096b70b6401cde045704ee4226ef368f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth/bluetooth-manager.h')
-rw-r--r-- | binding-bluetooth/bluetooth-manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h index 9b7eee0..287a0a2 100644 --- a/binding-bluetooth/bluetooth-manager.h +++ b/binding-bluetooth/bluetooth-manager.h @@ -92,6 +92,7 @@ #define MEDIA_FOLDER_INTERFACE "org.bluez.MediaFolder" #define MEDIA_ITEM_INTERFACE "org.bluez.MediaItem" #define MEDIA_TRANSPORT_INTERFACE "org.bluez.MediaTransport" +#define MEDIA_TRANSPORT1_INTERFACE "org.bluez.MediaTransport1" #define MEDIA_CONTROL1_INTERFACE "org.bluez.MediaControl1" @@ -137,8 +138,10 @@ struct btd_device { gchar *avrcp_title; gchar *avrcp_artist; gchar *avrcp_status; + gchar *transport_state; guint32 avrcp_duration; guint32 avrcp_position; + guint16 transport_volume; gboolean paired; gboolean trusted; gboolean connected; |