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