summaryrefslogtreecommitdiff
path: root/doc/media-api.txt
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-12-05 17:15:29 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-05 19:23:02 +0200
commit6b97470f815c4b0090cd11baac9100a07584159f (patch)
tree0e801de8ddfa2deca258366bd4a9043ac2652b1d /doc/media-api.txt
parent4810b2f4e3b38d6e1e44e3df4383a9889593428d (diff)
downloadbluez-6b97470f815c4b0090cd11baac9100a07584159f.tar.gz
media: Remove transport access type from D-Bus API
There is no known use-case making use of these access types and therefore the Media API can be simplified. From now on, the transport will always be acquired with read and write access rights.
Diffstat (limited to 'doc/media-api.txt')
-rw-r--r--doc/media-api.txt23
1 files changed, 2 insertions, 21 deletions
diff --git a/doc/media-api.txt b/doc/media-api.txt
index cf69efa4e..b15ad6171 100644
--- a/doc/media-api.txt
+++ b/doc/media-api.txt
@@ -261,31 +261,12 @@ Service org.bluez
Interface org.bluez.MediaTransport
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/fdX
-Methods fd, uint16, uint16 Acquire(string accesstype)
+Methods fd, uint16, uint16 Acquire()
Acquire transport file descriptor and the MTU for read
and write respectively.
- possible accesstype:
-
- "r" : Read only access
-
- "w" : Write only access
-
- "rw": Read and write access
-
- The accesstype string can also be combined with a "?"
- suffix, which will make the request optional. This
- typically means the transport will only be acquired if
- it is already available (remote-initiated), but
- otherwise no request will be sent to the remote side.
- In this last case the function will fail. Note that,
- due to compatibility issues with older versions of
- BlueZ, clients are encouraged to use exactly the same
- accesstype for Release(), matching the string provided
- to Acquire().
-
- void Release(string accesstype)
+ void Release()
Releases file descriptor.