@@ -105,6 +105,12 @@ def gather(self,
105
105
timeout = None ,
106
106
finish_on_key = None ,
107
107
num_digits = None ,
108
+ partial_result_callback = None ,
109
+ partial_result_callback_method = None ,
110
+ language = None ,
111
+ hints = None ,
112
+ barge_in = None ,
113
+ acknowledge_sound_url = None ,
108
114
** kwargs ):
109
115
"""
110
116
Add a new <Gather> element
@@ -114,6 +120,12 @@ def gather(self,
114
120
:param timeout: time to wait while gathering input
115
121
:param finish_on_key: finish on key press
116
122
:param num_digits: digits to collect
123
+ :param partial_result_callback: callback url
124
+ :param partial_result_callback_method: callback method
125
+ :param language: locale string
126
+ :param hints: speech recognition hints
127
+ :param barge_in: stop playing media upon speech
128
+ :param acknowledge_sound_url: url to hit when sound starts
117
129
:param kwargs: additional attributes
118
130
:return: <Gather> element
119
131
"""
@@ -123,6 +135,12 @@ def gather(self,
123
135
timeout = timeout ,
124
136
finish_on_key = finish_on_key ,
125
137
num_digits = num_digits ,
138
+ partial_result_callback = partial_result_callback ,
139
+ partial_result_callback_method = partial_result_callback_method ,
140
+ language = language ,
141
+ hints = hints ,
142
+ barge_in = barge_in ,
143
+ acknowledge_sound_url = acknowledge_sound_url ,
126
144
** kwargs
127
145
))
128
146
0 commit comments