include/windows.media.speechrecognition.idl: Add SpeechRecognitionHypothesis.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
191c287178
commit
dc1d318ea2
|
@ -41,12 +41,14 @@ namespace Windows {
|
||||||
interface ISpeechContinuousRecognitionResultGeneratedEventArgs;
|
interface ISpeechContinuousRecognitionResultGeneratedEventArgs;
|
||||||
interface ISpeechContinuousRecognitionSession;
|
interface ISpeechContinuousRecognitionSession;
|
||||||
interface ISpeechRecognitionConstraint;
|
interface ISpeechRecognitionConstraint;
|
||||||
|
interface ISpeechRecognitionHypothesis;
|
||||||
interface ISpeechRecognitionResult;
|
interface ISpeechRecognitionResult;
|
||||||
interface ISpeechRecognitionResult2;
|
interface ISpeechRecognitionResult2;
|
||||||
interface ISpeechRecognitionSemanticInterpretation;
|
interface ISpeechRecognitionSemanticInterpretation;
|
||||||
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
|
runtimeclass SpeechContinuousRecognitionCompletedEventArgs;
|
||||||
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
|
runtimeclass SpeechContinuousRecognitionResultGeneratedEventArgs;
|
||||||
runtimeclass SpeechContinuousRecognitionSession;
|
runtimeclass SpeechContinuousRecognitionSession;
|
||||||
|
runtimeclass SpeechRecognitionHypothesis;
|
||||||
runtimeclass SpeechRecognitionResult;
|
runtimeclass SpeechRecognitionResult;
|
||||||
runtimeclass SpeechRecognitionSemanticInterpretation;
|
runtimeclass SpeechRecognitionSemanticInterpretation;
|
||||||
}
|
}
|
||||||
|
@ -184,6 +186,16 @@ namespace Windows {
|
||||||
[propput] HRESULT Probability([in] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability value);
|
[propput] HRESULT Probability([in] Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||||
|
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis),
|
||||||
|
uuid(7a7b25b0-99c5-4f7d-bf84-10aa1302b634)
|
||||||
|
]
|
||||||
|
interface ISpeechRecognitionHypothesis : IInspectable
|
||||||
|
{
|
||||||
|
[propget] HRESULT Text([out, retval] HSTRING *value);
|
||||||
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||||
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionResult),
|
exclusiveto(Windows.Media.SpeechRecognition.SpeechRecognitionResult),
|
||||||
|
@ -252,6 +264,16 @@ namespace Windows {
|
||||||
[default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession;
|
[default] interface Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||||
|
marshaling_behavior(agile),
|
||||||
|
threading(both)
|
||||||
|
]
|
||||||
|
runtimeclass SpeechRecognitionHypothesis
|
||||||
|
{
|
||||||
|
[default] interface Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis;
|
||||||
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
contract(Windows.Foundation.UniversalApiContract, 1.0),
|
||||||
marshaling_behavior(agile)
|
marshaling_behavior(agile)
|
||||||
|
|
Loading…
Reference in New Issue