Commit d6900bcc authored by Bernhard Kölbl's avatar Bernhard Kölbl Committed by Alexandre Julliard

include/windows.media.speechrecognition.idl: Add SpeechRecognizerTimeouts.

parent c4147e92
......@@ -46,6 +46,7 @@ namespace Windows {
interface ISpeechRecognitionResult;
interface ISpeechRecognitionResult2;
interface ISpeechRecognitionSemanticInterpretation;
interface ISpeechRecognizerTimeouts;
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession;
......@@ -53,6 +54,7 @@ namespace Windows {
runtimeclass SpeechRecognitionHypothesisGeneratedEventArgs;
runtimeclass SpeechRecognitionResult;
runtimeclass SpeechRecognitionSemanticInterpretation;
runtimeclass SpeechRecognizerTimeouts;
}
}
}
......@@ -248,6 +250,21 @@ namespace Windows {
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts),
uuid(2ef76fca-6a3c-4dca-a153-df1bc88a79af)
]
interface ISpeechRecognizerTimeouts : IInspectable
{
[propget] HRESULT InitialSilenceTimeout([out, retval] Windows.Foundation.TimeSpan *value);
[propput] HRESULT InitialSilenceTimeout([in] Windows.Foundation.TimeSpan value);
[propget] HRESULT EndSilenceTimeout([out, retval] Windows.Foundation.TimeSpan *value);
[propput] HRESULT EndSilenceTimeout([in] Windows.Foundation.TimeSpan value);
[propget] HRESULT BabbleTimeout([out, retval] Windows.Foundation.TimeSpan *value);
[propput] HRESULT BabbleTimeout([in] Windows.Foundation.TimeSpan value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile),
threading(both)
]
......@@ -314,6 +331,15 @@ namespace Windows {
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionSemanticInterpretation;
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass SpeechRecognizerTimeouts
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts;
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment