From b0df182cfe740cfa79418d5f9ecd9511e625c0c8 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 17 May 2007 23:44:17 +0000 Subject: Add a couple of method proposals inspired by Havoc's recent blog post on D-Bus API design, parcularly the minimizing roundtrips aspect. --- audio/audio-api.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/audio/audio-api.txt b/audio/audio-api.txt index 1f71c14e..083f56d0 100644 --- a/audio/audio-api.txt +++ b/audio/audio-api.txt @@ -11,7 +11,21 @@ org.bluez.audio.Manager interface Object path /org/bluez/audio -Methods array{string} ListHeadsets() +Methods + array{string, array{string}} ListDevices() + + Retuns an array of elements that consist of a string + indicating the object path of a device as well as a + string list that corresponds to the set of interfaces + that the object implements. + + array{string, array{string}} GetConnectedDevices() + + Returns an array of elements of the same format as + ListDevices() for each device and interface which + is in a connected state. + + array{string} ListHeadsets() Returns list of headset objects that are configured. -- cgit