From aa79fbd0ea4a4b97e174d6835be895ead383d885 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 18 Jan 2007 21:56:35 +0000 Subject: Update audio service API description --- audio/audio-api.txt | 52 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git a/audio/audio-api.txt b/audio/audio-api.txt index 9427ca71..436296a7 100644 --- a/audio/audio-api.txt +++ b/audio/audio-api.txt @@ -1,41 +1,53 @@ -Audio API description for BlueZ -******************************* +Bluetooth audio service API description +*************************************** -Copyright (C) 2004-2006 Marcel Holtmann +Copyright (C) 2004-2007 Marcel Holtmann Copyright (C) 2005-2006 Johan Hedberg Copyright (C) 2005-2006 Brad Midgley -Audio hierarchy -=============== +Audio Manager hierarchy +======================= Service org.bluez.audio -Interface org.bluez.Audio +Interface org.bluez.audio.Manager Object path /org/bluez/audio Methods array{string} ListHeadsets() - Returns list of Bluetooth addresses for devices that - are configured as headsets. + Returns list of headset objects that + are configured. - string GetDefaultHeadset() + string DefaultHeadset() - Returns the Bluetooth address of the default headset - device. + Returns the object path for the default + headset device. - void SetDefaultHeadset(string address) + string CreateHeadset(string address) - void CreateHeadset(string address) + Create a new headset device and returns + its object path on return. - void RemoveHeadset(string address) + void RemoveHeadset(string path) - string ConnectHeadset(string address) +Signals void HeadsetCreated(string path) - Connects to the headset and setups a new stream. The - new stream identifier is returned. + void HeadsetRemoved(string path) -Signals void HeadsetCreated(string address) + void DefaultHeadsetChanged(string path) - void HeadsetRemoved(string address) - void DefaultHeadsetChanged(string address) +Audio Headset hierarchy +======================= + +Service org.bluez.audio +Interface org.bluez.audio.Headset +Object path /org/bluez/audio/headset* + +Methods string GetAddress() + + string GetName() + + void Connect() + + void Disconnect() -- cgit