OSDN Git Service

Add possible Headset.State property changes
authorJohan Hedberg <johan.hedberg@nokia.com>
Tue, 24 Mar 2009 19:06:31 +0000 (21:06 +0200)
committerJohan Hedberg <johan.hedberg@nokia.com>
Tue, 24 Mar 2009 19:06:31 +0000 (21:06 +0200)
doc/audio-api.txt

index 24ab86b..64e1374 100644 (file)
@@ -122,6 +122,26 @@ properties string State [readonly]
                        Possible values: "disconnected", "connecting",
                        "connected", "playing"
 
+                       "disconnected" -> "connecting"
+                               Either an incoming or outgoing connection
+                               attempt ongoing.
+
+                       "connecting" -> "disconnected"
+                               Connection attempt failed
+
+                       "connecting" -> "connected"
+                               Successfully connected
+
+                       "connected" -> "playing"
+                               SCO audio connection successfully opened
+
+                       "playing" -> "connected"
+                               SCO audio connection closed
+
+                       "connected" -> "disconnected"
+                       "playing" -> "disconnected"
+                               Disconnected from the remote device
+
                boolean Connected [readonly]
 
                        Indicates if there is a active connection to the