summaryrefslogtreecommitdiffstats
path: root/audio/audio-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio-api.txt')
-rw-r--r--audio/audio-api.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/audio/audio-api.txt b/audio/audio-api.txt
new file mode 100644
index 00000000..9427ca71
--- /dev/null
+++ b/audio/audio-api.txt
@@ -0,0 +1,41 @@
+Audio API description for BlueZ
+*******************************
+
+Copyright (C) 2004-2006 Marcel Holtmann <marcel@holtmann.org>
+Copyright (C) 2005-2006 Johan Hedberg <johan.hedberg@nokia.com>
+Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
+
+
+Audio hierarchy
+===============
+
+Service org.bluez.audio
+Interface org.bluez.Audio
+Object path /org/bluez/audio
+
+Methods array{string} ListHeadsets()
+
+ Returns list of Bluetooth addresses for devices that
+ are configured as headsets.
+
+ string GetDefaultHeadset()
+
+ Returns the Bluetooth address of the default headset
+ device.
+
+ void SetDefaultHeadset(string address)
+
+ void CreateHeadset(string address)
+
+ void RemoveHeadset(string address)
+
+ string ConnectHeadset(string address)
+
+ Connects to the headset and setups a new stream. The
+ new stream identifier is returned.
+
+Signals void HeadsetCreated(string address)
+
+ void HeadsetRemoved(string address)
+
+ void DefaultHeadsetChanged(string address)