OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "ttsEngine", | 7 "namespace": "ttsEngine", |
8 "functions": [ | 8 "functions": [ |
9 { | 9 { |
10 "name": "sendTtsEvent", | 10 "name": "sendTtsEvent", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 "description": "The event from the text-to-speech engine indicat ing the status of this utterance." | 90 "description": "The event from the text-to-speech engine indicat ing the status of this utterance." |
91 } | 91 } |
92 ] | 92 ] |
93 } | 93 } |
94 ] | 94 ] |
95 }, | 95 }, |
96 { | 96 { |
97 "name": "onStop", | 97 "name": "onStop", |
98 "type": "function", | 98 "type": "function", |
99 "description": "Fired when a call is made to tts.stop and this extension may be in the middle of speaking. If an extension receives a call to onStop and speech is already stopped, it should do nothing (not raise an error)." | 99 "description": "Fired when a call is made to tts.stop and this extension may be in the middle of speaking. If an extension receives a call to onStop and speech is already stopped, it should do nothing (not raise an error)." |
100 }, | |
101 { | |
102 "name": "onPause", | |
103 "type": "function", | |
104 "description": "Optional: if an engine supports the pause event, it shou ld pause the current utterance being spoken, if any, until a resume, stop, or sp eak event is fired, all of which leave the paused state." | |
David Tseng
2013/05/20 17:39:51
Is this true? The tts controller continues to have
| |
105 }, | |
106 { | |
107 "name": "onResume", | |
108 "type": "function", | |
109 "description": "Optional: if an engine supports the pause event, it shou ld also support the resume event, to continue speaking the current utterance, if any. Note that a stop or speak event also implies resuming." | |
not at google - send to devlin
2013/05/13 14:46:53
What does "implies" mean? That the extension shou
dmazzoni
2013/05/14 16:50:27
Clarified: the extension should exit the paused st
| |
100 } | 110 } |
101 ] | 111 ] |
102 } | 112 } |
103 ] | 113 ] |
OLD | NEW |