Skip to contentSkip to conversation

stk-api.txt: Introduce a new API to display abortable information

PATCH In review Philippe Nunes 3 participants 3 messages Mar 28, 2011 – Mar 30, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 stk-api.txt: Introduce a new API to display abortable information

---
 doc/stk-api.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
doc/stk-api.txt +11 -0
index f8a115e..fc69bb9 100644
@@ -252,6 +252,7 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			Possible Errors: [service].Error.SimToolkit.EndSession
 
 		void DisplayActionInformation(string text, byte icon_id)
+						[noreply]
 
 			Supplies a text string and/or icon concerning the
 			current activity in the terminal and UICC.  The
@@ -267,6 +268,16 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			confirmation message to oFono and then should open
 			the launch browser with the given url.
 
+		void DisplayAbortableActionInfo(string text, byte icon_id)
+
+			Supplies a text string and/or icon concerning the
+			current activity in the terminal and UICC. The
+			text should be displayed to the user on screen
+			until the call is canceled using Cancel() or until the
+			user decides to end the session.
+
+			Possible Errors: [service].Error.SimToolkit.EndSession
+
 		void Cancel() [noreply]
 
 			Asks the agent to cancel any ongoing operation in
Signature · 1 line
1.7.1
#1 lore raw

Hi Philippe,

Quoted 17 lines · Philippe Nunes
---
 doc/stk-api.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
doc/stk-api.txt +1 -0
index f8a115e..fc69bb9 100644
@@ -252,6 +252,7 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			Possible Errors: [service].Error.SimToolkit.EndSession
 
 		void DisplayActionInformation(string text, byte icon_id)
+						[noreply]
 
 			Supplies a text string and/or icon concerning the
 			current activity in the terminal and UICC.  The

doc/stk-api.txt Methods byte RequestSelection(string title, byte icon_id, · line 272

Quoted 5 lines
doc/stk-api.txt +2 -0
@@ -267,6 +268,16 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			confirmation message to oFono and then should open
 			the launch browser with the given url.
 
+		void DisplayAbortableActionInfo(string text, byte icon_id)
+

I've thought some more about this and I think we should name this method 'DisplayAction'

doc/stk-api.txt Methods byte RequestSelection(string title, byte icon_id, · line 283

Quoted 11 lines
doc/stk-api.txt +8 -0
+			Supplies a text string and/or icon concerning the
+			current activity in the terminal and UICC. The
+			text should be displayed to the user on screen
+			until the call is canceled using Cancel() or until the
+			user decides to end the session.
+
+			Possible Errors: [service].Error.SimToolkit.EndSession
+
 		void Cancel() [noreply]
 
 			Asks the agent to cancel any ongoing operation in

Regards,
-Denis

#2 lore raw

Hi Denis,

Quoted 19 lines
Quoted 19 lines
 doc/stk-api.txt |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
doc/stk-api.txt +1 -0
index f8a115e..fc69bb9 100644
@@ -252,6 +252,7 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			Possible Errors: [service].Error.SimToolkit.EndSession
 
 		void DisplayActionInformation(string text, byte icon_id)
+						[noreply]
 
 			Supplies a text string and/or icon concerning the
 			current activity in the terminal and UICC.  The
@@ -267,6 +268,16 @@ Methods		byte RequestSelection(string title, byte icon_id,
 			confirmation message to oFono and then should open
 			the launch browser with the given url.
 
Quoted 5 lines

doc/stk-api.txt Methods byte RequestSelection(string title, byte icon_id, · line 272

Quoted 2 lines
doc/stk-api.txt +2 -0
+		void DisplayAbortableActionInfo(string text, byte icon_id)
+

I've thought some more about this and I think we should name this method 'DisplayAction'

then it might be a good idea to rename DisplayActionInformation into somthing like DisplayInformation to keep them all a bit simpler.

Regards

Marcel