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 | e0d6d332bdb69e4635abfbe00e340211eb8c967a (patch) | |
tree | b46c0af51183918b510b7357bcec901327b608b2 /bluetooth-manager.h | |
parent | 49b1952b45d45a0dbec2662f26e2cf2e08531b48 (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 'bluetooth-manager.h')
-rw-r--r-- | bluetooth-manager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bluetooth-manager.h b/bluetooth-manager.h index 9b7eee0..287a0a2 100644 --- a/bluetooth-manager.h +++ b/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; |