blob: 9ace6818961508048823492462e4dce8f08a1c24 [file] [log] [blame]
BlueZ D-Bus Audio API description
*********************************
Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
Copyright (C) 2005-2007 Johan Hedberg <johan.hedberg@nokia.com>
Copyright (C) 2005-2006 Brad Midgley <bmidgley@xmission.com>
Audio hierarchy
===============
Service org.bluez
Interface org.bluez.Audio
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
This is a generic audio interface that abstracts the different audio profiles.
Methods void Connect()
Connect all supported audio profiles on the device.
void Disconnect()
Disconnect all audio profiles on the device
dict GetProperties()
Returns all properties for the interface. See the
properties section for available properties.
Signals void PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
Properties string State
Possible values: "disconnected", "connecting",
"connected"
"disconnected" -> "connecting"
Either an incoming or outgoing connection
attempt ongoing.
"connecting" -> "disconnected"
Connection attempt failed
"connecting" -> "connected"
Successfully connected
"connected" -> "disconnected"
Disconnected from the remote device
AudioSink hierarchy
===================
Service org.bluez
Interface org.bluez.AudioSink
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
Methods void Connect()
Connect and setup a stream to a A2DP sink on the
remote device.
void Disconnect()
Disconnect from the remote device.
dict GetProperties()
Returns all properties for the interface. See the
properties section for available properties.
Possible Errors: org.bluez.Error.InvalidArguments
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
properties string State [readonly]
Possible values: "disconnected", "connecting",
"connected", "playing"
"disconnected" -> "connecting"
Either an incoming or outgoing connection
attempt ongoing.
"connecting" -> "disconnected"
Connection attempt failed
"connecting" -> "connected"
Successfully connected
"connected" -> "playing"
Audio stream active
"playing" -> "connected"
Audio stream suspended
"connected" -> "disconnected"
"playing" -> "disconnected"
Disconnected from the remote device
AudioSource hierarchy
=====================
Service org.bluez
Interface org.bluez.AudioSource
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
Methods void Connect()
Connect and setup a stream to a A2DP source on the
remote device.
void Disconnect()
Disconnect from the remote device.
dict GetProperties()
Returns all properties for the interface. See the
properties section for available properties.
Possible Errors: org.bluez.Error.InvalidArguments
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
properties string State [readonly]
Possible values: "disconnected", "connecting",
"connected", "playing"
"disconnected" -> "connecting"
Either an incoming or outgoing connection
attempt ongoing.
"connecting" -> "disconnected"
Connection attempt failed
"connecting" -> "connected"
Successfully connected
"connected" -> "playing"
Audio stream active
"playing" -> "connected"
Audio stream suspended
"connected" -> "disconnected"
"playing" -> "disconnected"
Disconnected from the remote device