2 * Copyright 2022 Bernhard Kölbl
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #pragma winrt ns_prefix
23 import
"inspectable.idl";
24 import
"asyncinfo.idl";
25 import
"eventtoken.idl";
26 import
"windowscontracts.idl";
27 import
"windows.foundation.idl";
28 import
"windows.globalization.idl";
29 /*import "windows.phone.idl";*/
30 /*import "windows.storage.idl";*/
34 namespace SpeechRecognition
{
35 typedef enum SpeechContinuousRecognitionMode SpeechContinuousRecognitionMode
;
36 typedef enum SpeechRecognitionAudioProblem SpeechRecognitionAudioProblem
;
37 typedef enum SpeechRecognitionConfidence SpeechRecognitionConfidence
;
38 typedef enum SpeechRecognitionConstraintProbability SpeechRecognitionConstraintProbability
;
39 typedef enum SpeechRecognitionConstraintType SpeechRecognitionConstraintType
;
40 typedef enum SpeechRecognitionResultStatus SpeechRecognitionResultStatus
;
41 typedef enum SpeechRecognizerState SpeechRecognizerState
;
42 interface ISpeechContinuousRecognitionCompletedEventArgs
;
43 interface ISpeechContinuousRecognitionResultGeneratedEventArgs
;
44 interface ISpeechContinuousRecognitionSession
;
45 interface ISpeechRecognitionCompilationResult
;
46 interface ISpeechRecognitionConstraint
;
47 interface ISpeechRecognitionHypothesis
;
48 interface ISpeechRecognitionHypothesisGeneratedEventArgs
;
49 interface ISpeechRecognitionQualityDegradingEventArgs
;
50 interface ISpeechRecognitionResult
;
51 interface ISpeechRecognitionResult2
;
52 interface ISpeechRecognitionSemanticInterpretation
;
53 interface ISpeechRecognizer
;
54 interface ISpeechRecognizer2
;
55 interface ISpeechRecognizerFactory
;
56 interface ISpeechRecognizerStateChangedEventArgs
;
57 interface ISpeechRecognizerStatics
;
58 interface ISpeechRecognizerStatics2
;
59 interface ISpeechRecognizerTimeouts
;
60 interface ISpeechRecognizerUIOptions
;
61 runtimeclass SpeechContinuousRecognitionCompletedEventArgs
;
62 runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs
;
63 runtimeclass SpeechContinuousRecognitionSession
;
64 runtimeclass SpeechRecognitionCompilationResult
;
65 runtimeclass SpeechRecognitionHypothesis
;
66 runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs
;
67 runtimeclass SpeechRecognitionQualityDegradingEventArgs
;
68 runtimeclass SpeechRecognitionResult
;
69 runtimeclass SpeechRecognitionSemanticInterpretation
;
70 runtimeclass SpeechRecognizer
;
71 runtimeclass SpeechRecognizerStateChangedEventArgs
;
72 runtimeclass SpeechRecognizerTimeouts
;
73 runtimeclass SpeechRecognizerUIOptions
;
80 namespace SpeechRecognition
{
82 interface Windows.Foundation.Collections.IIterable
<Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
*>;
83 interface Windows.Foundation.Collections.IIterator
<Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
*>;
84 interface Windows.Foundation.Collections.IVectorView
<Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
*>;
85 interface Windows.Foundation.Collections.IVector
<Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
*>;
86 interface Windows.Foundation.Collections.IIterable
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*>;
87 interface Windows.Foundation.Collections.IIterator
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*>;
88 interface Windows.Foundation.Collections.IVectorView
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*>;
89 interface Windows.Foundation.AsyncOperationCompletedHandler
<Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
*>;
90 interface Windows.Foundation.AsyncOperationCompletedHandler
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*>;
91 interface Windows.Foundation.IAsyncOperation
<Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
*>;
92 interface Windows.Foundation.IAsyncOperation
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*>;
93 interface Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
*, Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs
*>;
94 interface Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
*, Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs
*>;
95 interface Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs
*>;
96 interface Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs
*>;
97 interface Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs
*>;
105 namespace SpeechRecognition
{
107 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
108 enum SpeechContinuousRecognitionMode
111 PauseOnRecognition
= 1,
114 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
115 enum SpeechRecognitionAudioProblem
126 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
127 enum SpeechRecognitionConfidence
135 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
136 enum SpeechRecognitionConstraintProbability
143 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
144 enum SpeechRecognitionConstraintType
149 VoiceCommandDefinition
= 3,
152 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
153 enum SpeechRecognitionResultStatus
156 TopicLanguageNotSupported
= 1,
157 GrammarLanguageMismatch
= 2,
158 GrammarCompilationFailure
= 3,
159 AudioQualityFailure
= 4,
162 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
164 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
165 PauseLimitExceeded
= 8,
166 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
168 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
169 MicrophoneUnavailable
= 10,
172 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
173 enum SpeechRecognizerState
180 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
182 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)]
187 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
188 exclusiveto
(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs
),
189 uuid(e3d069bb
-e30c
-5e18
-424b
-7fbe81f8fbd0
)
191 interface ISpeechContinuousRecognitionCompletedEventArgs
: IInspectable
193 [propget] HRESULT Status
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus
*value
);
197 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
198 exclusiveto
(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs
),
199 uuid(19091e1e
-6e7e
-5a46
-40fb
-76594f786504
)
201 interface ISpeechContinuousRecognitionResultGeneratedEventArgs
: IInspectable
203 [propget] HRESULT Result
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionResult
**value
);
207 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
208 exclusiveto
(Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
),
209 uuid(6a213c04
-6614-49f8
-99a2
-b5e9b3a085c8
)
211 interface ISpeechContinuousRecognitionSession
: IInspectable
213 [propget] HRESULT AutoStopSilenceTimeout
([out, retval] Windows.Foundation.TimeSpan
*value
);
214 [propput] HRESULT AutoStopSilenceTimeout
([in] Windows.Foundation.TimeSpan value
);
215 [overload
("StartAsync")] HRESULT StartAsync
([out, retval] Windows.Foundation.IAsyncAction
**action
);
216 [overload
("StartAsync")] HRESULT StartWithModeAsync
([in] Windows.Media.SpeechRecognition.SpeechContinuousRecognitionMode mode
, [out, retval] Windows.Foundation.IAsyncAction
**action
);
217 HRESULT StopAsync
([out, retval] Windows.Foundation.IAsyncAction
**action
);
218 HRESULT CancelAsync
([out, retval] Windows.Foundation.IAsyncAction
**action
);
219 HRESULT PauseAsync
([out, retval] Windows.Foundation.IAsyncAction
**action
);
221 [eventadd
] HRESULT Completed
(
222 [in] Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
*, Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs
*> *value
,
223 [out, retval] EventRegistrationToken
*token
);
224 [eventremove
] HRESULT Completed
([in] EventRegistrationToken token
);
225 [eventadd
] HRESULT ResultGenerated
(
226 [in] Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
*, Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs
*> *value
,
227 [out, retval] EventRegistrationToken
*token
);
228 [eventremove
] HRESULT ResultGenerated
([in] EventRegistrationToken token
);
232 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
233 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
),
234 uuid(407e6c5d
-6ac7
-4da4
-9cc1
-2fce32cf7489
)
236 interface ISpeechRecognitionCompilationResult
: IInspectable
238 [propget] HRESULT Status
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus
*value
);
242 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
243 uuid(79ac1628
-4d68
-43c4
-8911-40dc4101b55b
)
245 interface ISpeechRecognitionConstraint
: IInspectable
247 [propget] HRESULT IsEnabled
([out, retval] boolean *value
);
248 [propput] HRESULT IsEnabled
([in] boolean value
);
249 [propget] HRESULT Tag
([out, retval] HSTRING
*value
);
250 [propput] HRESULT Tag
([in] HSTRING value
);
251 [propget] HRESULT Type
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintType
*value
);
252 [propget] HRESULT Probability
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability
*value
);
253 [propput] HRESULT Probability
([in] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability value
);
257 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
258 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis
),
259 uuid(7a7b25b0
-99c5
-4f7d
-bf84
-10aa1302b634
)
261 interface ISpeechRecognitionHypothesis
: IInspectable
263 [propget] HRESULT Text
([out, retval] HSTRING
*value
);
267 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
268 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs
),
269 uuid(55161a7a
-8023-5866-411d
-1213bb271476
)
271 interface ISpeechRecognitionHypothesisGeneratedEventArgs
: IInspectable
273 [propget] HRESULT Hypothesis
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis
**value
);
277 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
278 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs
),
279 uuid(4fe24105
-8c3a
-4c7e
-8d0a
-5bd4f5b14ad8
)
281 interface ISpeechRecognitionQualityDegradingEventArgs
: IInspectable
283 [propget] HRESULT Problem
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionAudioProblem
*value
);
287 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
288 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionResult
),
289 uuid(4e303157
-034e-4652-857e
-d0454cc4beec
)
291 interface ISpeechRecognitionResult
: IInspectable
293 [propget] HRESULT Status
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus
*value
);
294 [propget] HRESULT Text
([out, retval] HSTRING
*value
);
295 [propget] HRESULT Confidence
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionConfidence
*value
);
296 [propget] HRESULT SemanticInterpretation
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation
**value
);
297 HRESULT GetAlternates
([in] UINT32 max_amount
, [out, retval] Windows.Foundation.Collections.IVectorView
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*> **results
);
298 [propget] HRESULT Constraint
([out, retval] Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
**value
);
299 [propget] HRESULT RulePath
([out, retval] Windows.Foundation.Collections.IVectorView
<HSTRING
> **value
);
300 [propget] HRESULT RawConfidence
([out, retval] DOUBLE *value
);
304 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
305 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionResult
),
306 uuid(af7ed1ba
-451b
-4166-a0c1
-1ffe84032d03
)
308 interface ISpeechRecognitionResult2
: IInspectable
310 [propget] HRESULT PhraseStartTime
([out, retval] Windows.Foundation.DateTime
*value
);
311 [propget] HRESULT PhraseDuration
([out, retval] Windows.Foundation.TimeSpan
*value
);
315 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
316 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation
),
317 uuid(aae1da9b
-7e32
-4c1f
-89fe
-0c65f486f52e
)
319 interface ISpeechRecognitionSemanticInterpretation
: IInspectable
321 [propget] HRESULT Properties
([out, retval] Windows.Foundation.Collections.IMapView
<HSTRING
, Windows.Foundation.Collections.IVectorView
<HSTRING
>*> **value
);
325 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
326 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizer
),
327 uuid(0bc3c9cb
-c26a
-40f2
-aeb5
-8096b2e48073
)
329 interface ISpeechRecognizer
: IInspectable
331 Windows.Foundation.IClosable
333 [propget] HRESULT CurrentLanguage
([out, retval] Windows.Globalization.Language
**value
);
334 [propget] HRESULT Constraints
([out, retval] Windows.Foundation.Collections.IVector
<Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint
*> **value
);
335 [propget] HRESULT Timeouts
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts
**value
);
336 [propget] HRESULT UIOptions
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions
**value
);
337 HRESULT CompileConstraintsAsync
([out, retval] Windows.Foundation.IAsyncOperation
<Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
*> **operation
);
338 HRESULT RecognizeAsync
([out, retval] Windows.Foundation.IAsyncOperation
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*> **operation
);
339 HRESULT RecognizeWithUIAsync
([out, retval] Windows.Foundation.IAsyncOperation
<Windows.Media.SpeechRecognition.SpeechRecognitionResult
*> **operation
);
340 [eventadd
] HRESULT RecognitionQualityDegrading
(
341 [in] Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs
*> *handler
,
342 [out, retval] EventRegistrationToken
*token
);
343 [eventremove
] HRESULT RecognitionQualityDegrading
([in] EventRegistrationToken token
);
344 [eventadd
] HRESULT StateChanged
(
345 [in] Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs
*> *handler
,
346 [out, retval] EventRegistrationToken
*token
);
347 [eventremove
] HRESULT StateChanged
([in] EventRegistrationToken token
);
351 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
352 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizer
),
353 uuid(63c9baf1
-91e3
-4ea4
-86a1
-7c3867d084a6
)
355 interface ISpeechRecognizer2
: IInspectable
357 [propget] HRESULT ContinuousRecognitionSession
([out, retval] Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
**value
);
358 [propget] HRESULT State
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognizerState
*value
);
359 HRESULT StopRecognitionAsync
([out, retval] Windows.Foundation.IAsyncAction
**action
);
360 [eventadd
] HRESULT HypothesisGenerated
(
361 [in] Windows.Foundation.TypedEventHandler
<Windows.Media.SpeechRecognition.SpeechRecognizer
*, Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs
*> *handler
,
362 [out, retval] EventRegistrationToken
*token
);
363 [eventremove
] HRESULT HypothesisGenerated
([in] EventRegistrationToken token
);
367 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
368 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizer
),
369 uuid(60c488dd
-7fb8
-4033-ac70
-d046f64818e1
)
371 interface ISpeechRecognizerFactory
: IInspectable
374 [in] Windows.Globalization.Language
*language
,
375 [out, retval] Windows.Media.SpeechRecognition.SpeechRecognizer
**speechrecognizer
);
379 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
380 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs
),
381 uuid(563d4f09
-ba03
-4bad
-ad81
-ddc6c4dab0c3
)
383 interface ISpeechRecognizerStateChangedEventArgs
: IInspectable
385 [propget] HRESULT State
([out, retval] Windows.Media.SpeechRecognition.SpeechRecognizerState
*value
);
389 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
390 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizer
),
391 uuid(87a35eac
-a7dc
-4b0b
-bcc9
-24f47c0b7ebf
)
393 interface ISpeechRecognizerStatics
: IInspectable
395 [propget] HRESULT SystemSpeechLanguage
([out, retval] Windows.Globalization.Language
**language
);
396 [propget] HRESULT SupportedTopicLanguages
([out, retval] Windows.Foundation.Collections.IVectorView
<Windows.Globalization.Language
*> **languages
);
397 [propget] HRESULT SupportedGrammarLanguages
([out, retval] Windows.Foundation.Collections.IVectorView
<Windows.Globalization.Language
*> **languages
);
401 contract
(Windows.Foundation.UniversalApiContract
, 5.0),
402 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizer
),
403 uuid(1d1b0d95
-7565-4ef9
-a2f3
-ba15162a96cf
)
405 interface ISpeechRecognizerStatics2
: IInspectable
407 HRESULT TrySetSystemSpeechLanguageAsync
([in] Windows.Globalization.Language
*language
, [out, retval] Windows.Foundation.IAsyncOperation
<boolean> **operation
);
411 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
412 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts
),
413 uuid(2ef76fca
-6a3c
-4dca
-a153
-df1bc88a79af
)
415 interface ISpeechRecognizerTimeouts
: IInspectable
417 [propget] HRESULT InitialSilenceTimeout
([out, retval] Windows.Foundation.TimeSpan
*value
);
418 [propput] HRESULT InitialSilenceTimeout
([in] Windows.Foundation.TimeSpan value
);
419 [propget] HRESULT EndSilenceTimeout
([out, retval] Windows.Foundation.TimeSpan
*value
);
420 [propput] HRESULT EndSilenceTimeout
([in] Windows.Foundation.TimeSpan value
);
421 [propget] HRESULT BabbleTimeout
([out, retval] Windows.Foundation.TimeSpan
*value
);
422 [propput] HRESULT BabbleTimeout
([in] Windows.Foundation.TimeSpan value
);
426 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
427 exclusiveto
(Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions
),
428 uuid(7888d641
-b92b
-44ba
-a25f
-d1864630641f
)
430 interface ISpeechRecognizerUIOptions
: IInspectable
432 [propget] HRESULT ExampleText
([out, retval] HSTRING
*value
);
433 [propput] HRESULT ExampleText
([in] HSTRING value
);
434 [propget] HRESULT AudiblePrompt
([out, retval] HSTRING
*value
);
435 [propput] HRESULT AudiblePrompt
([in] HSTRING value
);
436 [propget] HRESULT IsReadBackEnabled
([out, retval] boolean *value
);
437 [propput] HRESULT IsReadBackEnabled
([in] boolean value
);
438 [propget] HRESULT ShowConfirmation
([out, retval] boolean *value
);
439 [propput] HRESULT ShowConfirmation
([in] boolean value
);
443 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
444 marshaling_behavior
(agile
),
447 runtimeclass SpeechContinuousRecognitionCompletedEventArgs
449 [default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionCompletedEventArgs
;
453 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
454 marshaling_behavior
(agile
),
457 runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs
459 [default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionResultGeneratedEventArgs
;
463 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
464 marshaling_behavior
(agile
),
467 runtimeclass SpeechContinuousRecognitionSession
469 [default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession
;
473 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
474 marshaling_behavior
(agile
)
476 runtimeclass SpeechRecognitionCompilationResult
478 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionCompilationResult
;
482 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
483 marshaling_behavior
(agile
),
486 runtimeclass SpeechRecognitionHypothesis
488 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis
;
492 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
493 marshaling_behavior
(agile
),
496 runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs
498 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesisGeneratedEventArgs
;
502 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
503 marshaling_behavior
(agile
)
505 runtimeclass SpeechRecognitionQualityDegradingEventArgs
507 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionQualityDegradingEventArgs
;
511 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
512 marshaling_behavior
(agile
)
514 runtimeclass SpeechRecognitionResult
516 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionResult
;
517 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)] interface Windows.Media.SpeechRecognition.ISpeechRecognitionResult2
;
521 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
522 marshaling_behavior
(agile
)
524 runtimeclass SpeechRecognitionSemanticInterpretation
526 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionSemanticInterpretation
;
530 activatable
(Windows.Foundation.UniversalApiContract
, 1.0),
531 activatable
(Windows.Media.SpeechRecognition.ISpeechRecognizerFactory
, Windows.Foundation.UniversalApiContract
, 1.0),
532 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
533 marshaling_behavior
(agile
),
534 static
(Windows.Media.SpeechRecognition.ISpeechRecognizerStatics
, Windows.Foundation.UniversalApiContract
, 1.0),
535 static
(Windows.Media.SpeechRecognition.ISpeechRecognizerStatics2
, Windows.Foundation.UniversalApiContract
, 5.0)
537 runtimeclass SpeechRecognizer
539 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizer
;
540 interface Windows.Foundation.IClosable
;
541 [contract
(Windows.Foundation.UniversalApiContract
, 1.0)] interface Windows.Media.SpeechRecognition.ISpeechRecognizer2
;
545 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
546 marshaling_behavior
(agile
)
548 runtimeclass SpeechRecognizerStateChangedEventArgs
550 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerStateChangedEventArgs
;
554 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
555 marshaling_behavior
(agile
)
557 runtimeclass SpeechRecognizerTimeouts
559 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts
;
563 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
564 marshaling_behavior
(agile
)
566 runtimeclass SpeechRecognizerUIOptions
568 [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerUIOptions
;