[PATCH 12/13] media-api: Update documentation with setting Addressed Player

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Media API for Addressed Player allow to change addressed player
to one from already registered players. If no players are registered
default dummy player is used.
---
 doc/media-api.txt |   28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/doc/media-api.txt b/doc/media-api.txt
index 4446439..2e19417 100644
--- a/doc/media-api.txt
+++ b/doc/media-api.txt
@@ -8,7 +8,19 @@ Service		org.bluez
 Interface	org.bluez.Media
 Object path	[variable prefix]/{hci0,hci1,...}
 
-Methods		void RegisterEndpoint(object endpoint, dict properties)
+Methods		dict GetProperties()
+
+			Returns all properties. See the
+			properties section for available properties.
+
+		void SetProperty(string name, variant value)
+
+			Changes the value of the specified property. Only
+			properties that are listed as read-write are changeable.
+
+			On success this will emit a PropertyChanged signal.
+
+		void RegisterEndpoint(object endpoint, dict properties)
 
 			Register a local end point to sender, the sender can
 			register as many end points as it likes.
@@ -123,6 +135,20 @@ Methods		void RegisterEndpoint(object endpoint, dict properties)
 
 			Unregister sender media player.
 
+Signals		PropertyChanged(string name, variant value)
+
+			This signal indicates a changed value of the given
+			property.
+
+Properties	array{object} Players [readonly]
+
+			List of registered players.
+
+		object AddressedPlayer [readwrite]
+
+			Set active media player. Only one active player may be
+			used by remote controller.
+
 MediaPlayer hierarchy
 =====================
 
-- 
on behalf of ST-Ericsson

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux