Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1014238ybi; Fri, 12 Jul 2019 08:15:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxl4DO6gImzVOL+10zEgUdNAROIEu3ZEVhqs8kDvjjG0mEs58yMI0BpaZqtTviQqrB2S3WM X-Received: by 2002:a17:90a:5884:: with SMTP id j4mr12904236pji.142.1562944541124; Fri, 12 Jul 2019 08:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562944541; cv=none; d=google.com; s=arc-20160816; b=HM2TbCZd5Qm/w24gGNqK+WV0BhpTTU5fai0w0OT+szk0suHOQTEVSvsx/V+nxbhS03 v40XvxJhyFT9buIsG9SBqr5NNKksPKRgioAu0bVG6zkDQtnshT2n1fDMThU4eoGJEV3G LbytwwQKkUmNataSGPFwjjb1WA2Rogb4slClQnG1zhVuZF03kQAUFarbQ3WhSf2N+sGf LR9S3gNxzcxnDLmiwZ7Zij+wQezf5mE0lweI0mJI5Yx4iOqUwFPt3dX3ljp3oqkRQyH7 ovms0OrxQBpMbj7+xJfsuOrNAZWgsI2hlZn2/X7UW6djmMKvlFDINGfaL0zZGIz3djrJ WUeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=PwI9PK2hErb0OwjGvA4sp7NsuotkeTsL3/CYmfGN5po=; b=GDwISX1wE9WPERLn1oQgYpGU+or1TUfCi1vRMXNcwTGGx9XvWgyA4J3YSOXfzWij6E CaGEnVOuHL4s27drJfSiJ+5cI/A/FUNAsAem2oTgWlLQTjVevr5AsqgIrgsdGWxco1He c8n+lVQWzYBZTXnZE6zcwlswHiAiGdApqOtjsZzp6qwxXMqE31Gvuwl7zcRhOzyxSsPw cbNyZCemc7NsPrwxTFg/33WrF8AQAZnLJ3oEuTx34SvBejaZU0HYCDdE3SMr1UFTFig6 e4gfDUFp0ZUgiLMw3dAojmkdZHI8WNEgLMXrkxqFi0i8UgTMsn35TQIUuBOEymknUJsS tt+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n7Tedawu; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si8206613pgl.562.2019.07.12.08.15.26; Fri, 12 Jul 2019 08:15:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n7Tedawu; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfGLPNe (ORCPT + 99 others); Fri, 12 Jul 2019 11:13:34 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:45418 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfGLPNe (ORCPT ); Fri, 12 Jul 2019 11:13:34 -0400 Received: by mail-lj1-f196.google.com with SMTP id m23so9643401lje.12 for ; Fri, 12 Jul 2019 08:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PwI9PK2hErb0OwjGvA4sp7NsuotkeTsL3/CYmfGN5po=; b=n7TedawueiEUF+u49T1/i7eM99Y9AhO6NtY6e6YHAJ2S2/UiQj8hvFNd0Mqn9Nxtg/ uN4+tSPA+Nt2kNaxxUWFwO5ZDRWam0MOMk+8/70JxXc5nrjet6SNGjp7rzkP1FIpkQqP 9gFIyjN6zdW5S7uQx/aflx5jbBDPDFFAOOjgMZWzDaA0cTQYXBZnfSo5tLaaKYBQb7V6 O8NjemFqqO5eubPfWVQ7Y2N+ojb7NKksEm4rRCvNHiSHfQ4c2Mtb7Se76YD9mI9l3nRa 9lT5ltRoMRx0r37g7SUUDblr4YNhzipZq1jAjlTdyCvGNZ8Ug84GiOysII6GHSnk5JiL CCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PwI9PK2hErb0OwjGvA4sp7NsuotkeTsL3/CYmfGN5po=; b=GZnAB1bXWtgxnLqOvZGPo7sojaa4aF/iToYzDyCUbNnf84zet+HEaDeo3o3LBZLksI EWYhFiEcM1kP934y1gu6mafIhu/iJuAYeHKnH8OvWcRqhQ5Hr18Q+0D4WQa/KPLtBVq4 jZXTEDS/khYgq8mwerfKOEKlV5F1O4AN9qBoxicPAslB7qPGoDngC++ez5kABZjvWEZv zjNHkYH5MGHw+U8cQPG5ynynmvXgcZG1N0350IJ66TWBTbeoE8ZN/ktIVbot1Xvq7Mxz drEFHFgsMNO3FQvOyPBWp52RAonTh3bMyLdFPF4fwNnacVJdnmUCTUcfEsEJgoPIZrIT J4Dw== X-Gm-Message-State: APjAAAVWWOv5HGMPdJ/EWyI5j9vtwiox/c49HADPZKbqCaSh45yjH1Ju 5C0lUtI5RtzzGWmT3LpAe5JSvnHVlUI= X-Received: by 2002:a2e:93c5:: with SMTP id p5mr6171945ljh.79.1562944411866; Fri, 12 Jul 2019 08:13:31 -0700 (PDT) Received: from localhost.localdomain (89-27-7-11.bb.dnainternet.fi. [89.27.7.11]) by smtp.gmail.com with ESMTPSA id y18sm1478970ljh.1.2019.07.12.08.13.30 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 12 Jul 2019 08:13:31 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 1/4] doc/media-api: Add RegisterApplication method Date: Fri, 12 Jul 2019 18:13:26 +0300 Message-Id: <20190712151329.11333-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Luiz Augusto von Dentz This uses application ObjectManager to discover the MediaEndpoint and MediaPlayer object of an application and deprecates the use of RegisterEndpoint and RegisterPlayer. --- doc/media-api.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/media-api.txt b/doc/media-api.txt index bca8c9563..07f7ac3e0 100644 --- a/doc/media-api.txt +++ b/doc/media-api.txt @@ -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 ======================= -- 2.21.0