doc/media-api: Add RegisterApplication method
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jul 2019 13:36:28 +0000 (16:36 +0300)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
This uses application ObjectManager to discover the MediaEndpoint and
MediaPlayer object of an application and deprecates the use of
RegisterEndpoint and RegisterPlayer.

Change-Id: Ieb647e431ea32fc5934de3b84098c9a171f990e6
Signed-off-by: himanshu <h.himanshu@samsung.com>
doc/media-api.txt

index bca8c95..07f7ac3 100755 (executable)
@@ -66,7 +66,27 @@ Methods              void RegisterEndpoint(object endpoint, dict properties)
 
                        Unregister sender media player.
 
+               void RegisterApplication(object root, dict options)
 
+                       Register endpoints an player objects within root
+                       object which must implement ObjectManager.
+
+                       The application object path together with the D-Bus
+                       system bus connection ID define the identification of
+                       the application.
+
+                       Possible errors: org.bluez.Error.InvalidArguments
+                                        org.bluez.Error.AlreadyExists
+
+               void UnregisterApplication(object application)
+
+                       This unregisters the services that has been
+                       previously registered. The object path parameter
+                       must match the same value that has been used
+                       on registration.
+
+                       Possible errors: org.bluez.Error.InvalidArguments
+                                        org.bluez.Error.DoesNotExist
 Media Control hierarchy
 =======================