All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: Add possible handsfree-audio API errors
@ 2013-02-26 15:59 Claudio Takahasi
  2013-02-26 20:21 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2013-02-26 15:59 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

This patch adds possible errors that can be returned by Register and
Unregister methods of the Manager interface.
---
 doc/handsfree-audio-api.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/handsfree-audio-api.txt b/doc/handsfree-audio-api.txt
index 78ba9e1..6c3c8b5 100644
--- a/doc/handsfree-audio-api.txt
+++ b/doc/handsfree-audio-api.txt
@@ -25,11 +25,18 @@ Methods		array{object,dict} GetCards()
 				1	CVSD
 				2	mSBC
 
+			Possible Errors: [service].Error.InvalidArguments
+					 [service].Error.InUse
+
 		void Unregister(object path)
 
 			Unregisters a Handsfree Audio agent registered
 			through the Register method.
 
+			Possible Errors: [service].Error.NotFound
+					 [service].Error.InvalidArguments
+					 [service].Error.NotAllowed
+
 Signals		CardAdded(object path, dict properties)
 
 			Signal that is sent when a new card is added.  It
-- 
1.7.11.7


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-26 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-26 15:59 [PATCH] doc: Add possible handsfree-audio API errors Claudio Takahasi
2013-02-26 20:21 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.