diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2012-12-05 17:15:32 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-05 19:23:52 +0200 |
commit | 35a6a980450f8387671457bd66b238b01785b2c3 (patch) | |
tree | 3e3c17555c8af4fce3cc79b0fda1431160ed5e11 /doc/media-api.txt | |
parent | fb965c9293b91f8a4c3f5ccec3223abb84c4ff22 (diff) | |
download | bluez-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.txt | 7 |
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. |