summaryrefslogtreecommitdiffstats
path: root/audio/audio-api.txt
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-13 18:28:06 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-13 18:28:06 +0000
commitf0305ee7aad91c359ecc2e1bc1e92eb6b4fb0fa9 (patch)
treee9693651607acba7d1a88d32fd81314f56040e00 /audio/audio-api.txt
parentd9b79bb83ad9255dfcf2102cb10c3da26c4e3155 (diff)
Update API description
Diffstat (limited to 'audio/audio-api.txt')
-rw-r--r--audio/audio-api.txt83
1 files changed, 81 insertions, 2 deletions
diff --git a/audio/audio-api.txt b/audio/audio-api.txt
index d5f587c4..7e06b1f6 100644
--- a/audio/audio-api.txt
+++ b/audio/audio-api.txt
@@ -9,6 +9,10 @@ Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
org.bluez.audio.Manager interface
=================================
+This interface is for managing remote audio devices. It provides methods for
+creating and removing D-Bus objects representing remote audio devices. These
+objects implement one or more of the other interfaces listed in this document.
+
Object path /org/bluez/audio
Methods
@@ -94,6 +98,8 @@ Signals
org.bluez.audio.Device interface
================================
+This interface is implemented by all remote device objects.
+
Object path(s) /org/bluez/audio/device*
Methods string GetAddress() [experimental]
@@ -109,14 +115,25 @@ Methods string GetAddress() [experimental]
org.bluez.audio.Headset interface
=================================
+This interface provides access to headsets that implement the HSP and/or HFP
+profiles.
+
Object path(s) /org/bluez/audio/device*
Methods void Connect()
+ Connect to the HSP/HFP service on the remote device.
+
void Disconnect()
+ Disconnect from the HSP/HFP service on the remote
+ device.
+
boolean IsConnected()
+ Returns TRUE if there is a active connection to the
+ HSP/HFP connection on the remote device.
+
void IndicateCall()
Indicate an incoming call on the headset
@@ -187,8 +204,13 @@ Signals void AnswerRequested()
The microphone gain changed.
-org.bluez.audio.Source interface
-================================
+org.bluez.audio.Gateway interface
+=================================
+
+[not yet implemented]
+
+This interface is available for remote devices which can function in the Audio
+Gateway role of the HSP and/or HFP profiles.
Object path(s) /org/bluez/audio/device*
@@ -196,4 +218,61 @@ Object path(s) /org/bluez/audio/device*
org.bluez.audio.Sink interface
==============================
+This interface is available for remote devices which contain a A2DP Sink.
+
+Object path(s) /org/bluez/audio/device*
+
+Methods void Connect()
+
+ Connect and setup a stream to a A2DP sink on the
+ remote device.
+
+ void Disconnect()
+
+ Disconnect from the remote device.
+
+ boolean IsConnected()
+
+ Returns TRUE if a stream is setup to a A2DP sink on
+ the remote device.
+
+Signals void Connected()
+
+ Sent when a successful connection has been made to the
+ remote A2DP Sink
+
+ void Disconnected()
+
+ Sent when the device has been disconnected from.
+
+
+org.bluez.audio.Source interface
+================================
+
+[not yet implemented]
+
+This interface is available for remote devices which implement a A2DP source.
+
+Object path(s) /org/bluez/audio/device*
+
+
+org.bluez.audio.Control interface
+=================================
+
+[not yet implemented]
+
+This interface is available for remote devices which implement support for a
+AVRCP controller.
+
+Object path(s) /org/bluez/audio/device*
+
+
+org.bluez.audio.Target interface
+================================
+
+[not yet implemented]
+
+This interface is available for remote devices which implement support for a
+AVRCP target.
+
Object path(s) /org/bluez/audio/device*