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

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

parent 9226d0c3
...@@ -47,6 +47,7 @@ namespace Windows { ...@@ -47,6 +47,7 @@ namespace Windows {
interface ISpeechRecognitionResult2; interface ISpeechRecognitionResult2;
interface ISpeechRecognitionSemanticInterpretation; interface ISpeechRecognitionSemanticInterpretation;
interface ISpeechRecognizerTimeouts; interface ISpeechRecognizerTimeouts;
interface ISpeechRecognizerUIOptions;
runtimeclass SpeechContinuousRecognitionCompletedEventArgs; runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs; runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
runtimeclass SpeechContinuousRecognitionSession; runtimeclass SpeechContinuousRecognitionSession;
...@@ -55,6 +56,7 @@ namespace Windows { ...@@ -55,6 +56,7 @@ namespace Windows {
runtimeclass SpeechRecognitionResult; runtimeclass SpeechRecognitionResult;
runtimeclass SpeechRecognitionSemanticInterpretation; runtimeclass SpeechRecognitionSemanticInterpretation;
runtimeclass SpeechRecognizerTimeouts; runtimeclass SpeechRecognizerTimeouts;
runtimeclass SpeechRecognizerUIOptions;
} }
} }
} }
...@@ -265,6 +267,23 @@ namespace Windows { ...@@ -265,6 +267,23 @@ namespace Windows {
[ [
contract(Windows.Foundation.UniversalApiContract, 1.0), contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions),
uuid(7888d641-b92b-44ba-a25f-d1864630641f)
]
interface ISpeechRecognizerUIOptions : IInspectable
{
[propget] HRESULT ExampleText([out, retval] HSTRING *value);
[propput] HRESULT ExampleText([in] HSTRING value);
[propget] HRESULT AudiblePrompt([out, retval] HSTRING *value);
[propput] HRESULT AudiblePrompt([in] HSTRING value);
[propget] HRESULT IsReadBackEnabled([out, retval] boolean *value);
[propput] HRESULT IsReadBackEnabled([in] boolean value);
[propget] HRESULT ShowConfirmation([out, retval] boolean *value);
[propput] HRESULT ShowConfirmation([in] boolean value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile), marshaling_behavior(agile),
threading(both) threading(both)
] ]
...@@ -340,6 +359,15 @@ namespace Windows { ...@@ -340,6 +359,15 @@ namespace Windows {
{ {
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts; [default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts;
} }
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass SpeechRecognizerUIOptions
{
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognizerUIOptions;
}
} }
} }
} }
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