summaryrefslogtreecommitdiff
path: root/doc/media-api.txt
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-12-05 17:15:32 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-05 19:23:52 +0200
commit35a6a980450f8387671457bd66b238b01785b2c3 (patch)
tree3e3c17555c8af4fce3cc79b0fda1431160ed5e11 /doc/media-api.txt
parentfb965c9293b91f8a4c3f5ccec3223abb84c4ff22 (diff)
downloadbluez-35a6a980450f8387671457bd66b238b01785b2c3.tar.gz
media: Add MediaTransport.TryAcquire()
Split the Acquire() method in two parts so that the optional acquires, formerly represented as a "?" flag in the accesstype parameter of Acquire(), are now implemented in TryAcquire().
Diffstat (limited to 'doc/media-api.txt')
-rw-r--r--doc/media-api.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/media-api.txt b/doc/media-api.txt
index b15ad6171..5e052b40a 100644
--- a/doc/media-api.txt
+++ b/doc/media-api.txt
@@ -266,6 +266,13 @@ Methods fd, uint16, uint16 Acquire()
Acquire transport file descriptor and the MTU for read
and write respectively.
+ fd, uint16, uint16 TryAcquire()
+
+ Acquire transport file descriptor only if the transport
+ is in "pending" state at the time the message is
+ received by BlueZ. Otherwise no request will be sent
+ to the remote device and the function will just fail.
+
void Release()
Releases file descriptor.